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

0.0.6 • Public • Published

AsButton

The AsButton library exported as angular modules. Required angular version 2+.

alt text

Installation

Using npm:

$ npm i as-button --save

Example

// app.module.ts
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
 
import { AsButtonModule } from 'as-button'; //<< Add this
 
@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    AsButtonModule //<< Add this
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }
<!-- my-component.html -->
<h3>Link Button</h3>
<as-button 
    link="https://thedroid.io"
    value="Button With Link"
    bgColor="#3F51B5"
    color="#fff"
    shadow="2"
    fontSize="14px"
    borderRadius="10"
    padding="10,15"
></as-button>
 
<h3>Simple Button</h3>
<as-button 
    value="Simple Button"
    bgColor="#3F51B5"
    color="#fff"
    shadow="2"
    fontSize="14px"
    borderRadius="10"
    padding="10,15"
></as-button>

Readme

Keywords

Package Sidebar

Install

npm i as-button

Weekly Downloads

1

Version

0.0.6

License

none

Unpacked Size

124 kB

Total Files

24

Last publish

Collaborators

  • anilk1sagar