Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- class MonadWidgetConstraints t m => MonadWidget t m
- type El = Element EventResult GhcjsDomSpace
- data ElConfig attrs = ElConfig {
- _elConfig_namespace :: Maybe Text
- _elConfig_attributes :: attrs
- elConfig_namespace :: forall attrs. Lens' (ElConfig attrs) (Maybe Text)
- elConfig_attributes :: forall attrs attrs. Lens (ElConfig attrs) (ElConfig attrs) attrs attrs
- _el_clicked :: Reflex t => Element EventResult d t -> Event t ()
- _el_element :: El t -> RawElement GhcjsDomSpace
- _el_events :: Element er d t -> EventSelector t (WrapArg er EventName)
- addVoidAction :: MonadWidget t m => Event t (WidgetHost m ()) -> m ()
- type AttributeMap = Map Text Text
- class Attributes m attrs t where
- buildElement :: (MonadWidget t m, Attributes m attrs t) => Text -> attrs -> m a -> m (RawElement (DomBuilderSpace m), a)
- buildElementNS :: (MonadWidget t m, Attributes m attrs t) => Maybe Text -> Text -> attrs -> m a -> m (RawElement (DomBuilderSpace m), a)
- buildEmptyElement :: (MonadWidget t m, Attributes m attrs t) => Text -> attrs -> m (RawElement (DomBuilderSpace m))
- buildEmptyElementNS :: (MonadWidget t m, Attributes m attrs t) => Maybe Text -> Text -> attrs -> m (RawElement (DomBuilderSpace m))
- elDynHtml' :: MonadWidget t m => Text -> Dynamic t Text -> m (Element EventResult GhcjsDomSpace t)
- elDynHtmlAttr' :: (MonadJSM m, MonadWidget t m) => Text -> Map Text Text -> Dynamic t Text -> m (Element EventResult GhcjsDomSpace t)
- elStopPropagationNS :: forall t m en a. MonadWidget t m => Maybe Text -> Text -> EventName en -> m a -> m a
- elWith :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m a -> m a
- elWith' :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m a -> m (Element EventResult (DomBuilderSpace m) t, a)
- emptyElWith :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m ()
- emptyElWith' :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m (Element EventResult (DomBuilderSpace m) t)
- namedNodeMapGetNames :: NamedNodeMap -> JSM (Set Text)
- nodeClear :: IsNode self => self -> JSM ()
- onEventName :: IsHTMLElement e => EventName en -> e -> EventM e (EventType en) () -> JSM (JSM ())
- schedulePostBuild :: (PostBuild t m, PerformEvent t m) => WidgetHost m () -> m ()
- text' :: MonadWidget t m => Text -> m Text
- unsafePlaceElement :: MonadWidget t m => HTMLElement -> m (Element EventResult (DomBuilderSpace m) t)
- type WidgetHost m = Performable m
- wrapElement :: forall t m. MonadWidget t m => (forall en. HTMLElement -> EventName en -> EventM Element (EventType en) (Maybe (EventResult en))) -> HTMLElement -> m (El t)
Documentation
class MonadWidgetConstraints t m => MonadWidget t m Source #
Instances
MonadWidgetConstraints t m => MonadWidget t m Source # | |
Defined in Reflex.Dom.Old |
type El = Element EventResult GhcjsDomSpace Source #
ElConfig | |
|
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 #
buildElementInternal :: MonadWidget t m => Maybe Text -> Text -> attrs -> m a -> m (Element EventResult (DomBuilderSpace m) t, a) Source #
Instances
Attributes m (Map Text Text) t Source # | |
Defined in Reflex.Dom.Old buildElementInternal :: MonadWidget t m => Maybe Text -> Text -> Map Text Text -> m a -> m (Element EventResult (DomBuilderSpace m) t, a) Source # | |
PostBuild t m => Attributes m (Dynamic t (Map Text Text)) t Source # | |
Defined in Reflex.Dom.Old buildElementInternal :: MonadWidget t m => Maybe Text -> Text -> Dynamic t (Map Text Text) -> m a -> m (Element EventResult (DomBuilderSpace m) t, a) Source # |
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 #
buildEmptyElementNS :: (MonadWidget t m, Attributes m attrs t) => Maybe Text -> Text -> attrs -> m (RawElement (DomBuilderSpace m)) Source #
elDynHtml' :: MonadWidget t m => Text -> Dynamic t Text -> m (Element EventResult GhcjsDomSpace t) Source #
elDynHtmlAttr' :: (MonadJSM m, MonadWidget t m) => Text -> Map Text Text -> Dynamic t Text -> m (Element EventResult GhcjsDomSpace t) 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 #
emptyElWith' :: (MonadWidget t m, Attributes m attrs t) => Text -> ElConfig attrs -> m (Element EventResult (DomBuilderSpace m) t) Source #
namedNodeMapGetNames :: NamedNodeMap -> JSM (Set Text) Source #
onEventName :: IsHTMLElement e => EventName en -> e -> EventM e (EventType en) () -> JSM (JSM ()) Source #
schedulePostBuild :: (PostBuild t m, PerformEvent t m) => WidgetHost m () -> m () Source #
unsafePlaceElement :: MonadWidget t m => HTMLElement -> m (Element EventResult (DomBuilderSpace m) t) Source #
type WidgetHost m = Performable m 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 #