DaisyUIComponents.Drawer (DaisyUIComponents v0.7.6)

View Source

Drawer component

https://daisyui.com/components/drawer

Summary

Functions

Attributes

  • selector_id (:string) (required) - identifier to toggle the modal.
  • class (:any) - Defaults to nil.
  • open (:boolean) - Forces the drawer to be open. Defaults to nil.
  • end (:boolean) - Puts drawer to the right. Defaults to nil.
  • Global attributes are accepted.

Slots

  • drawer_content - Accepts attributes:
    • class (:any)
  • drawer_side - Accepts attributes:
    • class (:any)
  • inner_block

Attributes

  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • class (:any) - Defaults to nil.
  • selector_id (:string) (required) - identifier to toggle the modal.
  • Global attributes are accepted.

Slots

  • inner_block

Functions

drawer(assigns)

Attributes

  • selector_id (:string) (required) - identifier to toggle the modal.
  • class (:any) - Defaults to nil.
  • open (:boolean) - Forces the drawer to be open. Defaults to nil.
  • end (:boolean) - Puts drawer to the right. Defaults to nil.
  • Global attributes are accepted.

Slots

  • drawer_content - Accepts attributes:
    • class (:any)
  • drawer_side - Accepts attributes:
    • class (:any)
  • inner_block

drawer_content(assigns)

Attributes

  • class (:any) - Defaults to nil.
  • Global attributes are accepted.

Slots

  • inner_block

drawer_side(assigns)

Attributes

  • class (:any) - Defaults to nil.
  • selector_id (:string) (required) - identifier to toggle the modal.
  • Global attributes are accepted.

Slots

  • inner_block