0.4.4 • Published 4 years ago

@jcfauchet/component-button v0.4.4

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
4 years ago

@ecw-button

Buttons allow users to take actions, and make choices, with a single clik/tap.

Installation

npm install @emobg/component-button

Basic usage

HTML Structure

<EcwButton></EcwButton>

Inputs

NameRequiredDescriptionValues (default in bold)
linknohref element attr-
tagnoif link is not defined, the element will be of type 'tag'-
sizenosize of the elementsmall, medium, large
isFullnoweither the element takes all the screen's widthtrue, false
variantnocolor variantsprimary, light, dark

Outputs

NameDescriptionInfos emitted
clickedThe user clicked/taped the buttonnone

Style customization

CSS classDescription
ecw-buttonthe main container

Each variant and size is a modifier following BEM style Eg. ecw-button--large

0.4.4

4 years ago

0.4.0

4 years ago

0.4.3

4 years ago

0.3.9

4 years ago

0.3.8

4 years ago

0.3.7

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.22.0

4 years ago