View Source PetalComponents.Link (petal_components v1.0.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 to nil.
  • to (:string) - link path. Defaults to nil.
  • disabled (:boolean) - disables your link. Defaults to false. 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 to nil.
  • to (:string) - link path. Defaults to nil.
  • disabled (:boolean) - disables your link. Defaults to false. Global attributes are accepted.

slots

Slots

  • inner_block