PrenixComponents.Modal (prenix_components v0.1.3)

Summary

Functions

Attributes

  • id (:string) (required)
  • size (:string) - Defaults to "md".
  • scroll_behavior (:string) - Defaults to "outside".
  • fullscreen (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.
  • dialog_class (:string) - Defaults to nil.
  • content_class (:string) - Defaults to nil.
  • close_button_class (:string) - Defaults to nil.

Slots

  • header - Accepts attributes:
    • class (:string)
  • body - Accepts attributes:
    • class (:string)
  • footer - Accepts attributes:
    • class (:string)
  • inner_block

Functions

Attributes

  • id (:string) (required)
  • size (:string) - Defaults to "md".
  • scroll_behavior (:string) - Defaults to "outside".
  • fullscreen (:string) - Defaults to nil.
  • class (:string) - Defaults to nil.
  • dialog_class (:string) - Defaults to nil.
  • content_class (:string) - Defaults to nil.
  • close_button_class (:string) - Defaults to nil.

Slots

  • header - Accepts attributes:
    • class (:string)
  • body - Accepts attributes:
    • class (:string)
  • footer - Accepts attributes:
    • class (:string)
  • inner_block
Link to this function

set_assigns(assigns)