reflex-dom-core-0.4: Functional Reactive Web Apps with Reflex

Safe HaskellNone
LanguageHaskell98

Reflex.Dom.Builder.InputDisabled

Synopsis

Documentation

newtype InputDisabledT m a Source #

A DomBuilder transformer that disables all inputElements, textAreaElements, and selectElements by adding the "disabled" HTML attribute. Note that elements that happen to have "input", "textarea", or "select" as their tag will NOT be disabled.

Constructors

InputDisabledT 

Fields

Instances
MonadTrans InputDisabledT Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

lift :: Monad m => m a -> InputDisabledT m a #

MonadTransControl InputDisabledT Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type StT InputDisabledT a :: * #

Methods

liftWith :: Monad m => (Run InputDisabledT -> m a) -> InputDisabledT m a #

restoreT :: Monad m => m (StT InputDisabledT a) -> InputDisabledT m a #

NotReady t m => NotReady t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

PerformEvent t m => PerformEvent t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type Performable (InputDisabledT m) :: * -> * #

TriggerEvent t m => TriggerEvent t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

newTriggerEvent :: InputDisabledT m (Event t a, a -> IO ()) #

newTriggerEventWithOnComplete :: InputDisabledT m (Event t a, a -> IO () -> IO ()) #

newEventWithLazyTriggerWithOnComplete :: ((a -> IO () -> IO ()) -> IO (IO ())) -> InputDisabledT m (Event t a) #

PostBuild t m => PostBuild t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

getPostBuild :: InputDisabledT m (Event t ()) #

Adjustable t m => Adjustable t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

runWithReplace :: InputDisabledT m a -> Event t (InputDisabledT m b) -> InputDisabledT m (a, Event t b) #

traverseIntMapWithKeyWithAdjust :: (Key -> v -> InputDisabledT m v') -> IntMap v -> Event t (PatchIntMap v) -> InputDisabledT m (IntMap v', Event t (PatchIntMap v')) #

traverseDMapWithKeyWithAdjust :: GCompare k => (forall a. k a -> v a -> InputDisabledT m (v' a)) -> DMap k v -> Event t (PatchDMap k v) -> InputDisabledT m (DMap k v', Event t (PatchDMap k v')) #

traverseDMapWithKeyWithAdjustWithMove :: GCompare k => (forall a. k a -> v a -> InputDisabledT m (v' a)) -> DMap k v -> Event t (PatchDMapWithMove k v) -> InputDisabledT m (DMap k v', Event t (PatchDMapWithMove k v')) #

MonadReflexCreateTrigger t m => MonadReflexCreateTrigger t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

newEventWithTrigger :: (EventTrigger t a -> IO (IO ())) -> InputDisabledT m (Event t a) #

newFanEventWithTrigger :: GCompare k => (forall a. k a -> EventTrigger t a -> IO (IO ())) -> InputDisabledT m (EventSelector t k) #

HasJS js m => HasJS js (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type JSX (InputDisabledT m) :: * -> * Source #

DomBuilder t m => DomBuilder t (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type DomBuilderSpace (InputDisabledT m) :: * Source #

Prerender js m => Prerender js (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Prerender

Monad m => Monad (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Functor m => Functor (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

fmap :: (a -> b) -> InputDisabledT m a -> InputDisabledT m b #

(<$) :: a -> InputDisabledT m b -> InputDisabledT m a #

MonadFix m => MonadFix (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

mfix :: (a -> InputDisabledT m a) -> InputDisabledT m a #

Applicative m => Applicative (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

pure :: a -> InputDisabledT m a #

(<*>) :: InputDisabledT m (a -> b) -> InputDisabledT m a -> InputDisabledT m b #

liftA2 :: (a -> b -> c) -> InputDisabledT m a -> InputDisabledT m b -> InputDisabledT m c #

(*>) :: InputDisabledT m a -> InputDisabledT m b -> InputDisabledT m b #

(<*) :: InputDisabledT m a -> InputDisabledT m b -> InputDisabledT m a #

MonadIO m => MonadIO (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

liftIO :: IO a -> InputDisabledT m a #

MonadJSM m => MonadJSM (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

liftJSM' :: JSM a -> InputDisabledT m a #

PrimMonad m => PrimMonad (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type PrimState (InputDisabledT m) :: * #

MonadRef m => MonadRef (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type Ref (InputDisabledT m) :: * -> * #

Methods

newRef :: a -> InputDisabledT m (Ref (InputDisabledT m) a) #

readRef :: Ref (InputDisabledT m) a -> InputDisabledT m a #

writeRef :: Ref (InputDisabledT m) a -> a -> InputDisabledT m () #

modifyRef :: Ref (InputDisabledT m) a -> (a -> a) -> InputDisabledT m () #

modifyRef' :: Ref (InputDisabledT m) a -> (a -> a) -> InputDisabledT m () #

MonadAtomicRef m => MonadAtomicRef (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

atomicModifyRef :: Ref (InputDisabledT m) a -> (a -> (a, b)) -> InputDisabledT m b #

atomicModifyRef' :: Ref (InputDisabledT m) a -> (a -> (a, b)) -> InputDisabledT m b #

HasJSContext m => HasJSContext (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Associated Types

type JSContextPhantom (InputDisabledT m) :: * Source #

HasDocument m => HasDocument (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

MonadSample t m => MonadSample (t :: *) (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

sample :: Behavior t a -> InputDisabledT m a #

MonadHold t m => MonadHold (t :: *) (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

Methods

hold :: a -> Event t a -> InputDisabledT m (Behavior t a) #

holdDyn :: a -> Event t a -> InputDisabledT m (Dynamic t a) #

holdIncremental :: Patch p => PatchTarget p -> Event t p -> InputDisabledT m (Incremental t p) #

buildDynamic :: PushM t a -> Event t a -> InputDisabledT m (Dynamic t a) #

headE :: Event t a -> InputDisabledT m (Event t a) #

type StT InputDisabledT a Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type StT InputDisabledT a = a
type PrimState (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type Ref (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type Ref (InputDisabledT m) = Ref m
type Performable (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type JSX (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type JSX (InputDisabledT m) = JSX m
type JSContextPhantom (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled

type DomBuilderSpace (InputDisabledT m) Source # 
Instance details

Defined in Reflex.Dom.Builder.InputDisabled