gbr/ui/logo
Gleam UI logo super element.
Types
Values
pub fn icon_only(in: UILogo, icon_only: Bool) -> UILogo
Set logo icon only show
- icon_only: If show only icon or not
pub fn new(href: String) -> UILogo
New logotype image super element.
- href: Link location on clicked
pub fn render(in: UILogo) -> element.Element(a)
Render logo super element to lustre/element.{type Element}.
pub fn src(in: UILogo, src: String) -> UILogo
Set logo img
This function always create a new gbr/ui/img element.
- src: Image source path
lustre/attribute.src
pub fn text(in: UILogo, text: List(typo.UITypo)) -> UILogo
Set typos to logo text
- text:
gbr/ui/typolist to show logo text