View Source PlausibleWeb.Components.Generic (Plausible v0.0.1)

Generic reusable components

Summary

Functions

Attributes

  • slug (:string) (required)

Slots

  • button (required) - Accepts attributes:
    • class (:string)
  • panel (required) - Accepts attributes:
    • class (:string)

Attributes

  • href (:string) (required)
  • new_tab (:boolean) - Defaults to false.

Slots

  • inner_block (required)

Attributes

  • title (:string) - Defaults to "Notice".
  • size (:atom) - Defaults to :sm.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • id (:any) - Defaults to nil.
  • href (:string) (required)
  • new_tab (:boolean) - Defaults to false.
  • class (:string) - Defaults to "".

Slots

  • inner_block

Attributes

  • href (:string) (required)
  • new_tab (:boolean) - Defaults to false.
  • class (:string) - Defaults to "".
  • id (:any) - Defaults to nil.

Slots

  • inner_block

Functions

Attributes

  • slug (:string) (required)

Attributes

  • title (:string) - Defaults to "Notice".
  • size (:atom) - Defaults to :sm.
  • Global attributes are accepted.

Slots

  • inner_block

Attributes

  • id (:any) - Defaults to nil.
  • href (:string) (required)
  • new_tab (:boolean) - Defaults to false.
  • class (:string) - Defaults to "".

Slots

  • inner_block

Attributes

  • href (:string) (required)
  • new_tab (:boolean) - Defaults to false.
  • class (:string) - Defaults to "".
  • id (:any) - Defaults to nil.

Slots

  • inner_block