New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

jcb-button

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jcb-button

button

latest
Source
npmnpm
Version
1.3.2
Version published
Maintainers
1
Created
Source

Install

npm install jcb-button

Usage example

index.html

<!DOCTYPE html>
<head>
   <script type="module" src="./index.js"></script>
</head>
<body>
   <jcb-button>DEFAULT</jcb-button>
   <jcb-button type="success">SUCCESS</jcb-button>
   <jcb-button type="info">INFO!</jcb-button>

   <jcb-button id="dis" type="danger" disabled @click="onClick">disabled</jcb-button>

   <jcb-button icon type="burger-menu">
      <jcb-icon size="25px" color="black">mdiMenu</jcb-icon>
   </jcb-button>

   <jcb-button icon type="fab-red">
      <jcb-icon size="25px" color="white">mdiPhoneHangup</jcb-icon>
   </jcb-button>

   <jcb-button icon type="fab-blue">
      <jcb-icon size="25px" color="white">mdiPhoneHangup</jcb-icon>
   </jcb-button>

   <jcb-button icon type="fab-orange">
      <jcb-icon size="25px" color="white">mdiPhoneHangup</jcb-icon>
   </jcb-button>
</body>

API references

jcb-button

Properties

NameTypeDefaultDescription
colorString'success'color of button, among: 'success', 'green', 'info', 'blue', 'orange', 'warning', 'red', 'danger', 'burger-menu'
disabledBooleanfalseIndicates that button is disabled
roundBooleanfalseRound button with no border

TO BE REMOVED | type | String | 'success' | type of button, among: 'success', 'info', 'warning', 'danger' | | icon | Boolean | false | Round button with no border |

Events

NameDescriptionValue
clickEmitted whenever clickednull

Keywords

webcomponent

FAQs

Package last updated on 10 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts