Packages

t

fabric.styling

IStyleSetTag

trait IStyleSetTag extends Object

Tag your style trait to help drive style inference. You *must* promise to only have specific types of values in your trait. Generally, your member types will all be var stylename: js.UndefOr[IStyle] so that you can specific a subset of the members based on your need. This is for use to create a statically typed version of IStyleSet (a dictionary) where the members are statically declared as trait data members. Implicit conversions are available to convert a js.Object to a IStyleSet to call the interop functions. You must promise to only have IStyle or js.UndefOr[IStyle] objects as values.

Annotations
@JSType()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IStyleSetTag
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  2. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  3. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  4. def toLocaleString(): String
    Definition Classes
    Object
  5. def valueOf(): Any
    Definition Classes
    Object