object module extends Object with module_base with customizer_base

Annotations
@native() @JSImport("@uifabric/utilities", JSImport.Namespace)
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. module
  2. customizer_base
  3. module_base
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val CustomizerContext: ReactContext[CustomizerContext]
    Definition Classes
    customizer_base
  2. val SELECTION_CHANGE: String
  3. val anchorProperties: Array[String]
    Definition Classes
    module_base
  4. val baseElementEvents: Array[String]
    Definition Classes
    module_base
  5. val baseElementProperties: Array[String]
    Definition Classes
    module_base
  6. val buttonProperties: Array[String]
    Definition Classes
    module_base
  7. def classNamesFunction[P <: Object, SS <: IStyleSetTag, CN <: IClassNamesTag](): Function2[UndefOr[IStyleFunctionOrObject[P, SS]], UndefOr[P], CN]

    Create a function that takes a function and props, calls that function with the props then calls mergeStyleSets on the result.

    Create a function that takes a function and props, calls that function with the props then calls mergeStyleSets on the result. Weakly typed function signature since scala does not have structural typing. We can do better at some point even without structural typing. This does not work on a straight IStyleSet since that's set as a dictionary (string->IStyle) but instead an object type IStyleSetTag. Ultimately, given a style function or style object and a set of properties that are either input into the style function or are properties to be merged with the first argument if its an object and not a function, return a set of classnames that represent style processing via 'mergeStyleSets'.

    You usually call this inside your component object with a styles function (props=>styles) and properties passed in as props so that they are all merged together to generate your classnames linked to stylesheet styles. You need to tag your js.Object derived traits with IStyleSetTag and IClassNamesTag to drive type recognition.

    You are probably better off just defining your own getClassNames (and memoizing it) and calling mergeStyleSets yourself. Your getClassNames can take a styles (function or object) parameter.

    Definition Classes
    module_base
  8. def css(various: Any*): String

    string, serializable (has toString), dictionary, null, undefined, boolean...

    string, serializable (has toString), dictionary, null, undefined, boolean...

    Definition Classes
    module_base
  9. val divProperties: Array[String]
    Definition Classes
    module_base
  10. def filteredAssign(isAllowed: Function1[String, Boolean], target: Any, args: Any*): Any
    Definition Classes
    module_base
  11. def format(s: String, values: Any*): String

    Format using {0} type placement specifiers.

    Format using {0} type placement specifiers.

    Definition Classes
    module_base
  12. def getNativeProps[T <: Object](props: Object, allowedPropNames: Array[String], excludedPropNames: UndefOr[Array[String]] = js.undefined): T

    Set to the type of return value you want.

    Set to the type of return value you want.

    Definition Classes
    module_base
  13. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  14. val htmlElementProperties: Array[String]
    Definition Classes
    module_base
  15. val imageProperties: Array[String]
    Definition Classes
    module_base
  16. val inputProperties: Array[String]
    Definition Classes
    module_base
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. def memoizeFunction[I, O](f: Function1[I, O]): Function1[I, O]

    This is another tough one to type in scala.js.

    This is another tough one to type in scala.js. If you use a scala function to define f, an implicit will convert it to a js function automatically. Or you can use js.Any.fromFunctionN() to be explicit which you sometimes need to do to get the scala function to js function conversion correct.

    Definition Classes
    module_base
  19. def merge[T <: Object](args: |[|[|[|[T, Object], Dynamic], Null], Unit]*): T

    Deep merge.

    Deep merge.

    Definition Classes
    module_base
  20. def mergeCustomizations(old: ICustomizations, parent: CustomizerContext): CustomizerContext
    Definition Classes
    customizer_base
  21. def mergeScopedSettings(old: |[Settings, SettingsFunction], more: UndefOr[|[Settings, SettingsFunction]] = js.native): Settings
    Definition Classes
    customizer_base
  22. def mergeScopedSettings(oldeSettings: Settings, newSettings: |[Settings, SettingsFunction]): Settings
    Definition Classes
    module_base
  23. def mergeSettings(old: |[Settings, SettingsFunction], more: UndefOr[|[Settings, SettingsFunction]] = js.native): Settings
    Definition Classes
    customizer_base
  24. def mergeSettings(oldSettings: Settings, newSettings: |[Settings, SettingsFunction]): Settings
    Definition Classes
    module_base
  25. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  26. val textAreaProperties: Array[String]
    Definition Classes
    module_base
  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def valueOf(): Any
    Definition Classes
    Object