Module
Web.Chain.HTML
- Package
- purescript-web-chain
- Repository
- david-sledge/purescript-web-chain
Functions for specific types of HTML elements.
#button Source
button :: forall m f1 f2 a. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> Maybe (HTMLButtonElement -> Event -> Effect a) -> m HTMLButtonElementCreate a button.
#check Source
check :: forall m. MonadEffect m => HTMLInputElement -> m HTMLInputElement#checkbox Source
checkbox :: forall m f a. MonadEffect m => Foldable f => f (String /\ String) -> Boolean -> Maybe (HTMLInputElement -> Event -> Effect a) -> m HTMLInputElementCreate a checkbox.
#div Source
div :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLDivElement#docBody Source
docBody :: forall m. MonadEffect m => m HTMLBodyElement#maxLen Source
maxLen :: forall m e. MonadEffect m => ElementOp e => m e -> m (Maybe Int)Get the max length setting.
#minLen Source
minLen :: forall m e. MonadEffect m => ElementOp e => m e -> m IntGet the min length setting.
#numberField Source
numberField :: forall m f. MonadEffect m => Foldable f => f (String /\ String) -> Maybe Number -> m HTMLInputElementCreate a plain ol' input field of type number with a default value.
#passwordField Source
passwordField :: forall m f. MonadEffect m => Foldable f => f (String /\ String) -> m HTMLInputElementCreate a password text field.
#setAutocomplete Source
setAutocomplete :: forall m. MonadEffect m => String -> m HTMLInputElement -> m HTMLInputElementSet whether autocomplete is enabled for an input. The input is returned.
#setLenLimits Source
setLenLimits :: forall m e. MonadEffect m => ElementOp e => Int -> Maybe Int -> m e -> m eSet the the range limits on the required number of characters of a text field. The text field is returned.
#singleSelect Source
singleSelect :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (SelectContent) -> Maybe String -> m HTMLSelectElement#span Source
span :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLSpanElement#table Source
table :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLTableElement#td Source
td :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLTableCellElement#textField Source
textField :: forall m f. MonadEffect m => Foldable f => f (String /\ String) -> String -> m HTMLInputElementCreate a plain ol' input field of type text with a default value.
#th Source
th :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLTableCellElement#tr Source
tr :: forall m f1 f2. MonadEffect m => Foldable f1 => Foldable f2 => f1 (String /\ String) -> f2 (m Node) -> m HTMLTableRowElement#uncheck Source
uncheck :: forall m. MonadEffect m => HTMLInputElement -> m HTMLInputElement- Modules
- Data.
Array. Effect - Data.
List. Util - Data.
Map. Effect - Web.
CSSOM. Lifted. CSSStyleDeclaration - Web.
CSSOM. Window - Web.
Chain - Web.
Chain. CSSOM - Web.
Chain. DOM - Web.
Chain. Event - Web.
Chain. HTML - Web.
Chain. HTML. Class. HTMLAbleOp - Web.
Chain. HTML. Class. HTMLValueContainerOp - Web.
Chain. HTML. Util - Web.
Chain. UI. UISortableTable - Web.
Chain. UI. UITabPane - Web.
DOM. Class. CharacterDataOp - Web.
DOM. Class. DocumentOp - Web.
DOM. Class. ElementOp - Web.
DOM. Class. NodeOp - Web.
DOM. Class. TextOp - Web.
Event. Class. EventTargetOp - Web.
HTML. Class. HTMLElementOp - Web.
HTML. Lifted. HTMLDocument