reflex-dom-core-0.6.0.0: Functional Reactive Web Apps with Reflex
Safe HaskellNone
LanguageHaskell98

Reflex.Dom.Old

Synopsis

Documentation

class MonadWidgetConstraints t m => MonadWidget t m Source #

Instances

Instances details
MonadWidgetConstraints t m => MonadWidget t m Source # 
Instance details

Defined in Reflex.Dom.Old

data ElConfig attrs Source #

Constructors

ElConfig 

Instances

Instances details
attrs ~ Map Text Text => Default (ElConfig attrs) Source # 
Instance details

Defined in Reflex.Dom.Old

Methods

def :: ElConfig attrs #

HasNamespace (ElConfig attrs) Source # 
Instance details

Defined in Reflex.Dom.Old

HasAttributes (ElConfig attrs) Source # 
Instance details

Defined in Reflex.Dom.Old

Associated Types

type Attrs (ElConfig attrs) Source #

Methods

attributes :: Lens' (ElConfig attrs) (Attrs (ElConfig attrs)) Source #

type Attrs (ElConfig attrs) Source # 
Instance details

Defined in Reflex.Dom.Old

type Attrs (ElConfig attrs) = attrs

elConfig_namespace :: forall attrs. Lens' (ElConfig attrs) (Maybe Text) Source #

elConfig_attributes :: forall attrs attrs. Lens (ElConfig attrs) (ElConfig attrs) attrs attrs Source #

_el_clicked :: Reflex t => Element EventResult d t -> Event t () Source #

Deprecated: Use 'domEvent Click' instead

_el_element :: El t -> RawElement GhcjsDomSpace Source #

Deprecated: Use _element_raw instead

_el_events :: Element er d t -> EventSelector t (WrapArg er EventName) Source #

Deprecated: Use _element_events instead; or, if possible, use domEvent instead to retrieve a particular event

addVoidAction :: MonadWidget t m => Event t (WidgetHost m ()) -> m () Source #

class Attributes m attrs t where Source #

Methods

buildElementInternal :: MonadWidget t m => Maybe Text -> Text -> attrs -> m a -> m (Element EventResult (DomBuilderSpace m) t, a) Source #

Instances

Instances details
Attributes m (Map Text Text) t Source # 
Instance details

Defined in Reflex.Dom.Old

PostBuild t m => Attributes m (Dynamic t (Map Text Text)) t Source # 
Instance details

Defined in Reflex.Dom.Old

buildElement :: (MonadWidget t m, Attributes m attrs t) => Text -> attrs -> m a -> m (RawElement (DomBuilderSpace m), a) Source #

buildElementNS :: (MonadWidget t m, Attributes m attrs t) => Maybe Text -> Text -> attrs -> m a -> m (RawElement (DomBuilderSpace m), a) Source #

buildEmptyElement :: (MonadWidget t m, Attributes m attrs t) => Text -> attrs -> m (RawElement (DomBuilderSpace m)) Source #

elStopPropagationNS :: forall t m en a. MonadWidget t m => Maybe Text -> Text -> EventName en -> m a -> m a Source #

elWith :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m a -> m a Source #

elWith' :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m a -> m (Element EventResult (DomBuilderSpace m) t, a) Source #

emptyElWith :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m () Source #

nodeClear :: IsNode self => self -> JSM () Source #

onEventName :: IsHTMLElement e => EventName en -> e -> EventM e (EventType en) () -> JSM (JSM ()) Source #

wrapElement :: forall t m. MonadWidget t m => (forall en. HTMLElement -> EventName en -> EventM Element (EventType en) (Maybe (EventResult en))) -> HTMLElement -> m (El t) Source #