IContextualMenuItem

Companion
class
class Object
trait Matchable
class Any

Type members

Types

type OnClick = Function2[SyntheticMouseEvent[Element], IContextualMenuItem, UndefOr[Boolean]]

Callback with the react synthetic event. OC = onClick. Should be Mouse or Keyboard event!

Callback with the react synthetic event. OC = onClick. Should be Mouse or Keyboard event!

type OnMouseDown = Function2[IContextualMenuItem, SyntheticMouseEvent[Element], Unit]
type RenderFunction = Function2[Object, Function2[Any, UndefOr[Boolean], Unit], ReactNode]

Deprecated types

@deprecated("Use OnClick")
type OC = OnClick
Deprecated
@deprecated("Use OnMouseDown")
Deprecated
@deprecated("Use RenderFunction")
Deprecated

Value members

Concrete methods

def OnClick(f: (SyntheticMouseEvent[Element], IContextualMenuItem) => UndefOr[Boolean]): OC
def OnClick(f: () => Unit): OC