Docs Quickstart Figma Flowbite
1.3.0
Getting started
Customize
Components
API Reference NEW
common / Function

booleanToFlowbiteBoolean

This function cast a boolean to the internal flowbute-angular boolean type.

Presentation

function booleanToFlowbiteBoolean(value: boolean): keyof FlowbiteBoolean;

Returns

keyof FlowbiteBoolean -

enabled if value is true ; disabled if value is false.

Parameters

NameTypeDescription
value
boolean

The input to be cast.

Flowbite

© 2019-2024 Flowbite™ is a registered trademark. All Rights Reserved.