0.0.41 • Published 3 months ago

kenga-buttons v0.0.41

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
3 months ago

Kenga buttons

Kenga buttons. Simple and specific i.e. drop down button. This package contains radio button and chackbox widgets.

Install

To install kenga-buttons package to your project, type the following command: npm install kenga-buttons --save

Using

The simple way to use a Button is to write something like const b = new Button('Click me!'); b.onAction = () => { ... } The label holds property 'icon', which can be assigned to any DOM element (typically 'IMG').

Architecture

All buttons inside this package are descendants of ImageParagraph widgets from 'kenga-labels' package.

They all have 'onAction' event handler with is fired when user clicks on the button, or hits return or space key.

Besides ordinary buttons, this package contains DropDownButton widgets, which has an extra clickable section with drop down menu.

RadioButton, ToggleButton and CheckBox widgets support grouping and hold property buttonGroup. Also, RadioButton, ToggleButton and CheckBox widgets support value property of boolean type and fire value change events.

0.0.41

3 months ago

0.0.40

4 months ago

0.0.38

6 months ago

0.0.39

6 months ago

0.0.37

10 months ago

0.0.34

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.33

3 years ago

0.0.31

3 years ago

0.0.32

3 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

5 years ago

0.0.25

6 years ago

0.0.24

6 years ago

0.0.23

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago