Module

React.Ref

Package
purescript-react
Repository
purescript-contrib/purescript-react

#Ref Source

data Ref :: Type -> Type

#RefHandler Source

data RefHandler :: Type -> Type

#ReactInstance Source

#NativeNode Source

#fromRef Source

fromRef :: forall a. Ref a -> RefHandler a

#fromEffect Source

fromEffect :: forall a. (Ref a -> Effect Unit) -> RefHandler a

#getCurrentRef Source

getCurrentRef :: forall a. Ref a -> Effect (Maybe a)