SigmaKit.Components.Popups (sigma_kit v0.0.9)

Summary

Functions

Attributes

  • placement (:string) - Defaults to "top".
  • class (:any) - Defaults to nil.
  • plain (:boolean) - If true, the popover will not have a shadow or border. Defaults to false.
  • nopad (:boolean) - If true, the popover will not have internal padding. Defaults to false.
  • trigger_click (:boolean) - If true the popover will open on click, instead of on hover. Defaults to false.
  • minwidth (:boolean) - If true the popover will have a min-width equal to the trigger element. Defaults to false.
  • Global attributes are accepted. Any additional HTML attributes to add to the floating container.

Slots

  • trigger
  • inner_block

Attributes

  • text (:string)

Slots

  • inner_block

Functions

popover(assigns)

Attributes

  • placement (:string) - Defaults to "top".
  • class (:any) - Defaults to nil.
  • plain (:boolean) - If true, the popover will not have a shadow or border. Defaults to false.
  • nopad (:boolean) - If true, the popover will not have internal padding. Defaults to false.
  • trigger_click (:boolean) - If true the popover will open on click, instead of on hover. Defaults to false.
  • minwidth (:boolean) - If true the popover will have a min-width equal to the trigger element. Defaults to false.
  • Global attributes are accepted. Any additional HTML attributes to add to the floating container.

Slots

  • trigger
  • inner_block

tooltip(assigns)

Attributes

  • text (:string)

Slots

  • inner_block