kapela-button
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

About

This library contains component for button

Install

$npm install kapela-button

Usage

import

import { KapelaButtonComponent } from 'kapela-button';

@Component({
  ...
  imports: [ KapelaButtonComponent],
  ...
})

dom

<kapela-button></kapela-button>

Attributes

Nom Type default Comments
label string button Label of the button
type string button type of the button, other available : menu, reset, submit
disabled boolean false width of logo in
visited boolean false Label associated to the

Events

Name Type Comments
eventClick EventEmitter<string> use to handle click event , send the label of button as data

Directives

import

import { KapelaButtonNolineDirective, KapelaButtonOutlineDirective } from 'kapela-button';

@Component({
  ...
  imports: [ KapelaButtonNolineDirective, KapelaButtonOutlineDirective],
  ...
})

dom

selector usage Comments
kapela-button-noline <kapela-button kapela-button-noline></kapela-button> button without outline
kapela-button-outline <kapela-button kapela-button-outline></kapela-button> button with outline

Readme

Keywords

Package Sidebar

Install

npm i kapela-button

Weekly Downloads

1

Version

0.0.3

License

ISC

Unpacked Size

33.6 kB

Total Files

14

Last publish

Collaborators

  • faraniarijaona