SurfaceBulma.Form.Label (surface_bulma v0.3.3)
Properties
values :keyword, default: [] - List values that will be sent as part of the payload triggered by an event
form :form - The form identifier
field :any - The field name
text :any - The text for the generated
<label>
element, if no content (default slot) is provided.opts :keyword, default: [] - Options list
class :css_class, default: "label"
Slots
- default, args: [:field]
Events
- keydown - Triggered when a key on the keyboard is pressed
- keyup - Triggered when a key on the keyboard is released
- window_keydown - Triggered when a key on the keyboard is pressed (window-level)
- window_keyup - Triggered when a key on the keyboard is released (window-level)
- blur - Triggered when the component loses focus
- focus - Triggered when the component receives focus
- window_blur - Triggered when the page loses focus
- window_focus - Triggered when the page receives focus
- click - Triggered when the component receives click
- capture_click - Triggered when the component captures click
Link to this section Summary
Functions
Callback implementation for Surface.Component.render/1
.
Link to this section Functions
Link to this function
included_props(assigns)
Link to this function
render(assigns)
Callback implementation for Surface.Component.render/1
.