View Source
PetalComponents.Link
(petal_components v1.4.4)
Attributes
class
(:string
) - CSS class for link. Defaults to ""
.link_type
(:string
) - Defaults to "a"
.label
(:string
) - label your link. Defaults to nil
.to
(:string
) - link path. Defaults to nil
.disabled
(:boolean
) - disables your link. Defaults to false
.- Global attributes are accepted.
Slots
class
(:string
) - CSS class for link. Defaults to ""
.link_type
(:string
) - Defaults to "a"
.label
(:string
) - label your link. Defaults to nil
.to
(:string
) - link path. Defaults to nil
.disabled
(:boolean
) - disables your link. Defaults to false
.- Global attributes are accepted.