PrenixComponents.Link (prenix_components v0.1.8)
Summary
Functions
Attributes
color
(:string
) - Defaults to"primary"
.size
(:string
) - Defaults to"inherit"
.underline
(:string
) - Defaults to"none"
.class
(:string
) - Defaults tonil
.external
(:boolean
) - Defaults tofalse
.external_icon
(:boolean
) - Defaults totrue
.disabled
(:boolean
) - Defaults tofalse
.navigate
(:string
) - Defaults tonil
.patch
(:string
) - Defaults tonil
.href
(:any
) - Defaults tonil
.replace
(:boolean
) - Defaults tofalse
.method
(:string
) - Defaults to"get"
.csrf_token
(:any
) - Defaults totrue
.- Global attributes are accepted. Supports all globals plus:
["download", "hreflang", "referrerpolicy", "rel", "target", "type"]
.
Slots
inner_block
Functions
Link to this function
link_for(assigns)
Attributes
color
(:string
) - Defaults to"primary"
.size
(:string
) - Defaults to"inherit"
.underline
(:string
) - Defaults to"none"
.class
(:string
) - Defaults tonil
.external
(:boolean
) - Defaults tofalse
.external_icon
(:boolean
) - Defaults totrue
.disabled
(:boolean
) - Defaults tofalse
.navigate
(:string
) - Defaults tonil
.patch
(:string
) - Defaults tonil
.href
(:any
) - Defaults tonil
.replace
(:boolean
) - Defaults tofalse
.method
(:string
) - Defaults to"get"
.csrf_token
(:any
) - Defaults totrue
.- Global attributes are accepted. Supports all globals plus:
["download", "hreflang", "referrerpolicy", "rel", "target", "type"]
.
Slots
inner_block