0.1.8 • Published 5 years ago

flk-checkbox v0.1.8

Weekly downloads
24
License
-
Repository
github
Last release
5 years ago

Checkbox inputs

A component for checkbox/radio inputs for Falak JS framework.

Installation

flk install flk-checkbox

Usage

hello-world.component.html

<flk-checkbox name="display" [checked]="true" value="1" label="Display post"></flk-checkbox>

Attributes

checked

name: [checked]

values: Any Boolean value, true to mark it as checked, false to uncheck it.

Determine wether input is checked.

type

name: type | [type]

values: checkbox | radio.

default: checkbox

Set the input type, either checkbox or radio.

Theme

name: theme | [theme]

values: success | info | primary | warning | purple | teal | dark.

default: success

Set the input theme color.

label

name: label | [label]

Set the input label.

Missing attributes

Any input attribute/event could be applied here, such as (change) event, value and so on.

0.1.8

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago