object module extends Object with styles_CommonStyles with ThemeLike with StylingLike with MergeStyles
- Annotations
- @native() @JSImport("@uifabric/styling", JSImport.Namespace)
- Alphabetic
- By Inheritance
- module
- MergeStyles
- StylingLike
- ThemeLike
- styles_CommonStyles
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val AnimationClassNames: IAnimationStyles
- val AnimationStyles: IAnimationStyles
- val ColorClassNames: IColorClassNames
- val DefaultEffects: IEffects
- val DefaultPalette: IPalette
- val FontClassNames: IFontClassNames
- val FontSizes: IFontSizes
- val FontWeightS: IFontWeights
- val HigHContrastSelector: String
- Definition Classes
- styles_CommonStyles
- val HighContrastSelectorBlack: String
- Definition Classes
- styles_CommonStyles
- val HighContrastSelectorWhite: String
- Definition Classes
- styles_CommonStyles
- val IconFontSizes: IIconFontSizes
- val SCreenWidthMinSmall: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMaxLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMaxMedium: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMaxSmall: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMaxXLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMaxXXLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinMedium: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinUhfMobile: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinXLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinXXLarge: Int
- Definition Classes
- styles_CommonStyles
- val ScreenWidthMinXXXLarge: Int
- Definition Classes
- styles_CommonStyles
- val Stylesheet: Stylesheet
Access the stylesheet created by fabric.
Access the stylesheet created by fabric.
- Definition Classes
- MergeStyles
- val ThemeSettingName: String
- Definition Classes
- ThemeLike
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def buildClassMap(styles: Object): Dictionary[String]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def concatStyleSets[T <: Object](styleSets: IStyleSet*): T
Combine styles together but do not register the styles in a stylesheet.
Combine styles together but do not register the styles in a stylesheet. This is useful for combining different sets of styles, like a base and something more specific, inside of a function that computes styles but you want the output to be a (string -> style) mapping still. Last argument has higher precedence.
- T
js object with mappings between properties and "string" class names. See IProcessedStyleSet in typescript.
- Definition Classes
- MergeStyles
- def concatStyleSetsWithProps[SP <: Any](props: SP, styleSets: StyleSetArg*): IStyleSet
Combine styles together but allow style functions or props.
Combine styles together but allow style functions or props. IStyleSet refers to a js object that has properties whose values are IStyle objects.
- Definition Classes
- MergeStyles
- def createTheme(partial: ITheme, depComments: Boolean = false): ITheme
- Definition Classes
- ThemeLike
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fontFace(font: FontFace): Unit
Register a font face.
Register a font face.
- Definition Classes
- MergeStyles
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getIconClassName(name: String): String
- Definition Classes
- StylingLike
- def getScreenSelector(min: Int, max: Int): String
- Definition Classes
- styles_CommonStyles
- def getTheme(depComments: Boolean = false): ITheme
Reurn the singleton theme object.
Reurn the singleton theme object.
- Definition Classes
- ThemeLike
- def getVendorSettings(): IVendorSettings
- Definition Classes
- MergeStyles
- def hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- def keyframes(timeline: Object): String
Register key frames.
Register key frames. Keys are typically "from" and "to".
- Definition Classes
- MergeStyles
- def loadTheme(theme: ITheme, depComments: Boolean = false): ITheme
- Definition Classes
- ThemeLike
- def mergeStyleSets[T <: Any](styleSets: IStyleSet*): T
Merge style sets and register in a stylesheet.
Merge style sets and register in a stylesheet. js.Object is included to allow "partial" T's to be passed in. It is not possible to ensure that all keys in T are defined based on the input parameters alone. This is the primary way to convert "code" to "styles" in the DOM. Generally, this function is called inside a
getClassNames(...)
type function specific to each component. The return value is typically a js.native trait whose member values are the string names of the styles that were registered (string -> classname string).- Definition Classes
- MergeStyles
- def mergeStyles(styles: |[IStyle, Array[IStyle]]*): String
Merge styles and register in a stylesheet.
Merge styles and register in a stylesheet. Return the "css" mangled name you use as the attribute "className" in your components. You probably want to use a style set and
mergeStyleSets
to push a bunch of styles to the stylesheet at one time.- Definition Classes
- MergeStyles
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val noWrap: IRawStyle
- val normalize: IRawStyle
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def registerIcons(r: IIconSubset, options: UndefOr[IIconOptions] = js.undefined): Unit
- Definition Classes
- StylingLike
- def registerOnThemeChangeCallback(cb: Function1[ITheme, Unit]): Unit
- Definition Classes
- ThemeLike
- def removeOnThemeChangeCallback(cb: Function1[ITheme, Unit]): Unit
- Definition Classes
- ThemeLike
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toLocaleString(): String
- Definition Classes
- Object
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unsafeConcatStyleSetsWithProps[SP <: Any](props: SP, styleSets: Any*): IStyleSet
- Definition Classes
- MergeStyles
- Annotations
- @JSName("concatStyleSetsWithProps")
- def valueOf(): Any
- Definition Classes
- Object
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])