Props

io.github.nafg.scalajs.facades.mui.ClickAwayListener$.Props
class Props extends WithChildren[VdomElement]

Attributes

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

Members list

Concise view

Type members

Classlikes

object mouseEvent extends Prop[Any]

The mouse event to listen to. You can disable the listener by providing false.

The mouse event to listen to. You can disable the listener by providing false.

Attributes

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

The touch event to listen to. You can disable the listener by providing false.

The touch event to listen to. You can disable the listener by providing false.

Attributes

Graph
Supertypes
class Prop[Any]
class Object
trait Matchable
class Any
Self 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[VdomElement]

The wrapped element.

The wrapped element.

Attributes

def disableReactTree: Prop[Boolean]

If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled.

If true, the React tree is ignored and only the DOM tree is considered. This prop changes how portaled elements are handled.

Attributes

def onClick: Prop[ReactMouseEventFromHtml => Callback]
def onClickAway: Prop[() => Callback]

Callback fired when a "click away" event is detected.

Callback fired when a "click away" event is detected.

Attributes

def style: Prop[Object]

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