p

jss

package jss

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. jss
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. trait AddRuleOptions extends Object
    Annotations
    @JSType()
  2. type ClassNamesTag = Object

    An object that list classnames.

    An object that list classnames. Values should be strings but this is not enforced with types. Objects with this tag are usually annotated with @js.native. This is output of some function that creates the styles indexed by a string name used as a class name in react components e.g. Stylesheet.addRule.

  3. trait IdOptions extends Object
    Annotations
    @JSType()
  4. trait JSS extends Object
    Annotations
    @JSType() @native()
  5. trait JssOptions extends Object
    Annotations
    @JSType()
  6. type JssStyle = |[JssStyleBase, JssStyleArray]
  7. trait JssStyleArray extends Array[JssStyleBase]
    Annotations
    @JSType()
  8. type JssStyleBase = |[|[|[StyleAttr, String], Dynamic], Object]
  9. trait Plugin extends Object
    Annotations
    @JSType() @native()
  10. trait Rule extends Object
    Annotations
    @JSType() @native()
  11. trait RuleOptions extends Object
    Annotations
    @JSType() @native()
  12. type RuleTag = Object

    An object that itemizes JssStyles.

    An object that itemizes JssStyles. You can create this as a dictionary or as a scala.js defined js object. The idea is that there is a set of string => JssStyle. scala.js cannot enforce RuleTag to have specific types on its properties. The name could be an element name like button or a component name such as root. You define your specific styles in an object that inherits from this tag.

  13. trait Stylesheet extends Object
    Annotations
    @JSType() @native()
  14. trait StylesheetFactoryOptions extends Object
    Annotations
    @JSType()
  15. trait Theme extends Object
    Annotations
    @JSType() @native()

Value Members

  1. val _jss: JSS
  2. def create(config: UndefOr[JssOptions] = js.undefined): JSS
  3. def jssPreset(): JssOptions

    Presets I think are the right ones to use.

    Presets I think are the right ones to use. These contrast with the jssPreset provded in mui or the preset from "jss-preset-default".

  4. val linkTrue: Object with StylesheetFactoryOptions

    link = true StylesheetOptions so you can updated/remove a rule once added to a Stylesheet.

  5. case object BuildInfo extends Product with Serializable

    This object was generated by sbt-buildinfo.

  6. object JssPluginCache extends Object
    Annotations
    @native() @JSImport("jss-plugin-cache", JSImport.Default)
  7. object JssPluginCamelCase extends Object
    Annotations
    @native() @JSImport("jss-plugin-camel-case", JSImport.Default)
  8. object JssPluginCompose extends Object
    Annotations
    @native() @JSImport("jss-plugin-compose", JSImport.Default)
  9. object JssPluginDefaultUnit extends Object
    Annotations
    @native() @JSImport("jss-plugin-default-unit", JSImport.Default)
  10. object JssPluginExpand extends Object
    Annotations
    @native() @JSImport("jss-plugin-expand", JSImport.Default)
  11. object JssPluginExtend extends Object
    Annotations
    @native() @JSImport("jss-plugin-extend", JSImport.Default)
  12. object JssPluginGlobal extends Object
    Annotations
    @native() @JSImport("jss-plugin-global", JSImport.Default)
  13. object JssPluginNested extends Object
    Annotations
    @native() @JSImport("jss-plugin-nested", JSImport.Default)
  14. object JssPluginPropsSort extends Object
    Annotations
    @native() @JSImport("jss-plugin-props-sort", JSImport.Default)
  15. object JssPluginRuleValueFunction extends Object
    Annotations
    @native() @JSImport("jss-plugin-rule-value-function", JSImport.Default)
  16. object JssPluginVendorPrefixer extends Object
    Annotations
    @native() @JSImport("jss-plugin-vendor-prefixer", JSImport.Default)
  17. object ReactJSS extends Object
    Annotations
    @native() @JSImport("react-jss", JSImport.Namespace)
  18. object ThemeProvider
  19. object createUseStyles extends Object

    Return a useStyles() hook.

    Return a useStyles() hook. The return value is a js function to call with prop arguments.

    Annotations
    @native() @JSImport("react-jss", "createUseStyles")
  20. object createUseStyles0 extends Object

    Return a useStyles() hook.

    Return a useStyles() hook. The return value is a js function to call with no arguments.

    Annotations
    @native() @JSImport("react-jss", "createUseStyles")
  21. object preset extends Object
    Annotations
    @native() @JSImport("jss-preset-default", JSImport.Default)
  22. object theming extends Object
    Annotations
    @native() @JSImport("theming", JSImport.Namespace)

Inherited from AnyRef

Inherited from Any

Ungrouped