View Source PetalComponents.Link (petal_components v1.2.7)
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
.disabled
(:boolean
) - disables your link. Defaults tofalse
. Global attributes are accepted.
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
.disabled
(:boolean
) - disables your link. Defaults tofalse
. Global attributes are accepted.
slots
Slots
inner_block