Props

io.github.nafg.scalajs.facades.mui.Hidden$.Props
class Props extends WithChildren[VdomNode]

Attributes

Graph
Supertypes
trait WithChildren[VdomNode]
trait PropTypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

object implementation extends Prop[String]

Specify which implementation to use. 'js' is the default, 'css' works better for server-side rendering.

Specify which implementation to use. 'js' is the default, 'css' works better for server-side rendering.

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
object initialWidth extends Prop[String]

You can use this prop when choosing the js implementation with server-side rendering.

You can use this prop when choosing the js implementation with server-side rendering.

As window.innerWidth is unavailable on the server, we default to rendering an empty component during the first mount. You might want to use an heuristic to approximate the screen width of the client browser screen width.

For instance, you could be using the user-agent or the client-hints. https://caniuse.com/#search=client%20hint

Attributes

Graph
Supertypes
class Prop[String]
class Object
trait Matchable
class Any
Self type
object only extends Prop[String | Seq[String]]

Hide the given breakpoint(s).

Hide the given breakpoint(s).

Attributes

Graph
Supertypes
class Prop[String | Seq[String]]
class Object
trait Matchable
class Any
Self type
only.type

Inherited classlikes

object dyn extends Dynamic

Attributes

Inherited from:
PropTypes
Graph
Supertypes
trait Dynamic
class Object
trait Matchable
class Any

Value members

Concrete methods

def children: Prop[VdomNode]

The content of the component.

The content of the component.

Attributes

def lgDown: Prop[Boolean]

If true, screens this size and down will be hidden.

If true, screens this size and down will be hidden.

Attributes

def lgUp: Prop[Boolean]

If true, screens this size and up will be hidden.

If true, screens this size and up will be hidden.

Attributes

def mdDown: Prop[Boolean]

If true, screens this size and down will be hidden.

If true, screens this size and down will be hidden.

Attributes

def mdUp: Prop[Boolean]

If true, screens this size and up will be hidden.

If true, screens this size and up will be hidden.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def smDown: Prop[Boolean]

If true, screens this size and down will be hidden.

If true, screens this size and down will be hidden.

Attributes

def smUp: Prop[Boolean]

If true, screens this size and up will be hidden.

If true, screens this size and up will be hidden.

Attributes

def style: Prop[Object]
def xlDown: Prop[Boolean]

If true, screens this size and down will be hidden.

If true, screens this size and down will be hidden.

Attributes

def xlUp: Prop[Boolean]

If true, screens this size and up will be hidden.

If true, screens this size and up will be hidden.

Attributes

def xsDown: Prop[Boolean]

If true, screens this size and down will be hidden.

If true, screens this size and down will be hidden.

Attributes

def xsUp: Prop[Boolean]

If true, screens this size and up will be hidden.

If true, screens this size and up will be hidden.

Attributes

Inherited methods

def of[A : Writer](implicit evidence$1: Writer[A], name: Name): Prop[A]

Attributes

Inherited from:
PropTypes

Inherited fields

val key: Prop[Key]

Attributes

Inherited from:
PropTypes