Summary
Functions
Attributes
class(:any) - CSS class for link (either a string or list). Defaults tonil.link_type(:string) - Defaults to"a". Must be one of"a","live_patch","live_redirect", or"button".label(:string) - label your link. Defaults tonil.to(:string) - link path. Defaults tonil.disabled(:boolean) - disables the link. This will turn an <a> into a <button> (<a> tags can't be disabled). Defaults tofalse.- Global attributes are accepted. Supports all globals plus:
["method", "download", "hreflang", "ping", "referrerpolicy", "rel", "target", "type"].
Slots
inner_block