OctantisWeb.Components.Polaris.UnstyledButton (octantis v0.1.12)
View SourceUnderlying button. Button is implemented with this and sometimes Polaris uses this directly instead of button
Examples
<.unstyled_button>Button</.unstyled_button>
See
Summary
Functions
Underlying button. Button is implemented with this and sometimes Polaris uses this directly instead of button
Functions
Underlying button. Button is implemented with this and sometimes Polaris uses this directly instead of button
Examples
<.unstyled_button>Button</.unstyled_button>
See
Attributes
id
(:string
) - Defaults tonil
.class
(:any
) - Defaults tonil
.submit
(:boolean
) - Defaults tofalse
.disabled
(:boolean
) - Defaults tofalse
.loading
(:boolean
) - Defaults tofalse
.aria_controls
(:string
) - Indicates the ID of the element that is controlled by the button. Defaults tonil
.aria_described_by
(:string
) - Indicates the ID of the element that describes the button. Defaults tonil
.aria_expanded
(:string
) - Defaults tonil
.aria_checked
(:string
) - Defaults tonil
.aria_pressed
(:string
) - Defaults tonil
.aria_label
(:string
) - Defaults tonil
.role
(:string
) - Defaults tonil
.url
(:string
) - Defaults tonil
.phx_click
(:any
) - onClick. Defaults tonil
.phx_focus
(:any
) - onFocus. Defaults tonil
.phx_blur
(:any
) - onBlur. Defaults tonil
.phx_key
(:any
) - onKeyPress. Defaults tonil
.phx_keyup
(:any
) - onKeyUp. Defaults tonil
.phx_keydown
(:any
) - onKeyDown. Defaults tonil
.phx_target
(:any
) - Allows setting the target for the button. Defaults tonil
.name
(:string
) - Name to be passed down to the button. Defaults tonil
.value
(:string
) - Name to be passed down to the button. Defaults tonil
.phx_values
(:list
) - A list of key value pairs to be passed as a value for actions. See assign_phx_bindings/2. Defaults to[]
.style
(:string
) - Style attribute.display
(:string
) - Style attribute.margin
(:string
) - Style attribute.max_height
(:string
) - Style attribute.min_height
(:string
) - Style attribute.object_fit
(:string
) - Style attribute.flex_grow
(:string
) - Style attribute.justify_content
(:string
) - Style attribute.grid_auto_rows
(:string
) - Style attribute.grid_template_columns
(:string
) - Style attribute.grid_template_rows
(:string
) - Style attribute.align_items
(:string
) - Style attribute.align_self
(:string
) - Style attribute.- Global attributes are accepted.
Slots
inner_block