View Source PetalComponents.Link (petal_components v0.19.2)
Link to this section Summary
Functions
Attributes
class
(:string
) - CSS class for link. Defaults to""
.link_type
(:string
) - Defaults to"a"
.label
(:string
) - label your link. Defaults tonil
.to
(:string
) - link path. Defaults tonil
.rest
(:global
) - Supports all globals plus:["method"]
.disabled
(:boolean
) - disables your link. Defaults tofalse
.
Slots
inner_block
Link to this section Functions
attributes
Attributes
class
(:string
) - CSS class for link. Defaults to""
.link_type
(:string
) - Defaults to"a"
.label
(:string
) - label your link. Defaults tonil
.to
(:string
) - link path. Defaults tonil
.rest
(:global
) - Supports all globals plus:["method"]
.disabled
(:boolean
) - disables your link. Defaults tofalse
.
slots
Slots
inner_block