Packages

object module extends Object with styles_CommonStyles with ThemeLike with StylingLike with MergeStyles

Annotations
@native() @JSImport("@uifabric/styling", JSImport.Namespace)
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. module
  2. MergeStyles
  3. StylingLike
  4. ThemeLike
  5. styles_CommonStyles
  6. Object
  7. Any
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val AnimationClassNames: IAnimationStyles
  2. val AnimationStyles: IAnimationStyles
  3. val ColorClassNames: IColorClassNames
  4. val DefaultEffects: IEffects
  5. val DefaultPalette: IPalette
  6. val FontClassNames: IFontClassNames
  7. val FontSizes: IFontSizes
  8. val FontWeightS: IFontWeights
  9. val HigHContrastSelector: String
    Definition Classes
    styles_CommonStyles
  10. val HighContrastSelectorBlack: String
    Definition Classes
    styles_CommonStyles
  11. val HighContrastSelectorWhite: String
    Definition Classes
    styles_CommonStyles
  12. val IconFontSizes: IIconFontSizes
  13. val SCreenWidthMinSmall: Int
    Definition Classes
    styles_CommonStyles
  14. val ScreenWidthMaxLarge: Int
    Definition Classes
    styles_CommonStyles
  15. val ScreenWidthMaxMedium: Int
    Definition Classes
    styles_CommonStyles
  16. val ScreenWidthMaxSmall: Int
    Definition Classes
    styles_CommonStyles
  17. val ScreenWidthMaxXLarge: Int
    Definition Classes
    styles_CommonStyles
  18. val ScreenWidthMaxXXLarge: Int
    Definition Classes
    styles_CommonStyles
  19. val ScreenWidthMinLarge: Int
    Definition Classes
    styles_CommonStyles
  20. val ScreenWidthMinMedium: Int
    Definition Classes
    styles_CommonStyles
  21. val ScreenWidthMinUhfMobile: Int
    Definition Classes
    styles_CommonStyles
  22. val ScreenWidthMinXLarge: Int
    Definition Classes
    styles_CommonStyles
  23. val ScreenWidthMinXXLarge: Int
    Definition Classes
    styles_CommonStyles
  24. val ScreenWidthMinXXXLarge: Int
    Definition Classes
    styles_CommonStyles
  25. val Stylesheet: Stylesheet

    Access the stylesheet created by fabric.

    Access the stylesheet created by fabric.

    Definition Classes
    MergeStyles
  26. val ThemeSettingName: String
    Definition Classes
    ThemeLike
  27. def buildClassMap(styles: Object): Dictionary[String]
  28. 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
  29. 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
  30. def createTheme(partial: ITheme, depComments: Boolean = false): ITheme
    Definition Classes
    ThemeLike
  31. def fontFace(font: FontFace): Unit

    Register a font face.

    Register a font face.

    Definition Classes
    MergeStyles
  32. def getIconClassName(name: String): String
    Definition Classes
    StylingLike
  33. def getScreenSelector(min: Int, max: Int): String
    Definition Classes
    styles_CommonStyles
  34. def getTheme(depComments: Boolean = false): ITheme

    Reurn the singleton theme object.

    Reurn the singleton theme object.

    Definition Classes
    ThemeLike
  35. def getVendorSettings(): IVendorSettings
    Definition Classes
    MergeStyles
  36. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  37. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  38. def keyframes(timeline: Object): String

    Register key frames.

    Register key frames. Keys are typically "from" and "to".

    Definition Classes
    MergeStyles
  39. def loadTheme(theme: ITheme, depComments: Boolean = false): ITheme
    Definition Classes
    ThemeLike
  40. 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
  41. 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
  42. val noWrap: IRawStyle
  43. val normalize: IRawStyle
  44. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  45. def registerIcons(r: IIconSubset, options: UndefOr[IIconOptions] = js.undefined): Unit
    Definition Classes
    StylingLike
  46. def registerOnThemeChangeCallback(cb: Function1[ITheme, Unit]): Unit
    Definition Classes
    ThemeLike
  47. def removeOnThemeChangeCallback(cb: Function1[ITheme, Unit]): Unit
    Definition Classes
    ThemeLike
  48. def toLocaleString(): String
    Definition Classes
    Object
  49. def unsafeConcatStyleSetsWithProps[SP <: Any](props: SP, styleSets: Any*): IStyleSet
    Definition Classes
    MergeStyles
    Annotations
    @JSName("concatStyleSetsWithProps")
  50. def valueOf(): Any
    Definition Classes
    Object