3.0.6 • Published 3 years ago

@mr-samani/select-angle v3.0.6

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

Angular SelectAngle

demo:

image

This library was generated with Angular CLI version 12.2.0.

Features

  • validation: required , invalid

  • chose angle from 45,90,135,180,225,270,315,360

  • disabled

Install

npm install @mr-samani/select-angle

Setup

step1: add SelectAngleModule to app NgModule

 import { NgModule } from '@angular/core';
 import { BrowserModule } from '@angular/platform-browser';
 import { AppComponent } from './app.component';
 import { FormsModule, ReactiveFormsModule }
  from '@angular/forms';
  
 //-> import this line
import { SelectAngleModule } from '@mr-samani/select-angle';

@NgModule({
     declarations: [AppComponent],
     imports: [
	     BrowserModule,
	     SelectAngleModule, //-> import this
	     ReactiveFormsModule,
	     FormsModule
    ],
    providers: [],
    bootstrap: [AppComponent]
 })
 export class AppModule { }

Step2: add select-angle in html code

Code scaffolding

Run ng generate component component-name --project select-angle to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project select-angle.

Note: Don't forget to add --project select-angle or else it will be added to the default project in your angular.json file.

Build

Run ng build select-angle to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build select-angle, go to the dist folder cd dist/select-angle and run npm publish.

Running unit tests

Run ng test select-angle to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

3.0.6

3 years ago

3.0.5

3 years ago

3.0.4

3 years ago

3.0.3

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago