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

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

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 a 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

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

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
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, component is hidden on screens below (but not including) this size.

If true, component is hidden on screens below (but not including) this size.

Attributes

def lgUp: Prop[Boolean]

If true, component is hidden on screens this size and above.

If true, component is hidden on screens this size and above.

Attributes

def mdDown: Prop[Boolean]

If true, component is hidden on screens below (but not including) this size.

If true, component is hidden on screens below (but not including) this size.

Attributes

def mdUp: Prop[Boolean]

If true, component is hidden on screens this size and above.

If true, component is hidden on screens this size and above.

Attributes

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

If true, component is hidden on screens below (but not including) this size.

If true, component is hidden on screens below (but not including) this size.

Attributes

def smUp: Prop[Boolean]

If true, component is hidden on screens this size and above.

If true, component is hidden on screens this size and above.

Attributes

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

If true, component is hidden on screens below (but not including) this size.

If true, component is hidden on screens below (but not including) this size.

Attributes

def xlUp: Prop[Boolean]

If true, component is hidden on screens this size and above.

If true, component is hidden on screens this size and above.

Attributes

def xsDown: Prop[Boolean]

If true, component is hidden on screens below (but not including) this size.

If true, component is hidden on screens below (but not including) this size.

Attributes

def xsUp: Prop[Boolean]

If true, component is hidden on screens this size and above.

If true, component is hidden on screens this size and above.

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