Module

React.Aria.Interactions

Package
purescript-react-aria
Repository
rowtype-yoga/purescript-react-aria

#FocusWithinProps Source

type FocusWithinProps :: Row Typetype FocusWithinProps = (isDisabled :: Boolean, onBlurWithin :: EventHandler, onFocusWithin :: EventHandler, onFocusWithinChange :: EffectFn1 Boolean Unit)

#FocusWithinResult Source

type FocusWithinResult = { focusWithinProps :: { onBlur :: EventHandler, onFocus :: EventHandler } }

#useFocusWithinImpl Source

#UseFocusWithin Source

newtype UseFocusWithin a

Constructors

#useFocusWithin Source

useFocusWithin :: forall props props_. Union props props_ FocusWithinProps => Record props -> Hook UseFocusWithin FocusWithinResult

#FocusProps Source

type FocusProps :: Row Typetype FocusProps = (isDisabled :: Boolean, onBlur :: EventHandler, onFocus :: EventHandler, onFocusChange :: EffectFn1 Boolean Unit)

#FocusResult Source

type FocusResult = { focusProps :: { onBlur :: EventHandler, onFocus :: EventHandler } }

#useFocusImpl Source

useFocusImpl :: forall props. EffectFn1 props FocusResult

#UseFocus Source

newtype UseFocus a

Constructors

#useFocus Source

useFocus :: forall props props_. Union props props_ FocusProps => Record props -> Hook UseFocus FocusResult