View Source PlausibleWeb.Components.Generic (Plausible v0.0.1)
Generic reusable components
Summary
Functions
Attributes
type
(:string
) - Defaults to"button"
.class
(:string
) - Defaults to""
.disabled
(:boolean
) - Defaults tofalse
.- Global attributes are accepted.
Slots
inner_block
Attributes
href
(:string
) (required)class
(:string
) - Defaults to""
.- Global attributes are accepted.
Slots
inner_block
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 tofalse
.
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 tonil
.href
(:string
) (required)new_tab
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults to""
.
Slots
inner_block
Attributes
href
(:string
) (required)new_tab
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults to""
.id
(:any
) - Defaults tonil
.
Slots
inner_block
Functions
Attributes
type
(:string
) - Defaults to"button"
.class
(:string
) - Defaults to""
.disabled
(:boolean
) - Defaults tofalse
.- Global attributes are accepted.
Slots
inner_block
Attributes
href
(:string
) (required)class
(:string
) - Defaults to""
.- Global attributes are accepted.
Slots
inner_block
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 tofalse
.
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 tonil
.href
(:string
) (required)new_tab
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults to""
.
Slots
inner_block
Attributes
href
(:string
) (required)new_tab
(:boolean
) - Defaults tofalse
.class
(:string
) - Defaults to""
.id
(:any
) - Defaults tonil
.
Slots
inner_block