work-time is a small component angular 4+ to change the scheduling of working time.
Required libs
- angular 7+
- bootstrap 4+
How to make use of it:
Installation:
$ npm install work-time --save
1. In your Angular AppModule:
import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; // Import import { WorkTimeModule } from 'work-time'; @NgModule({ declarations: [ AppComponent ], imports: [ BrowserModule, WorkTimeModule ], providers: [], bootstrap: [AppComponent] }) export class AppModule { }
2. Once WorkTimeModule is imported, you can use the <work-time>
component:
import { WorkTimeType } from "work-time"; // ... public data = []; public workTimeType = WorkTimeType.REGULAR; public readOnly = false;
<work-time [(ngModel)]="data" [workTimeType]="workTimeType" [readonly]="readOnly"></work-time>
work time schedule for angular 4, work-time Plugin/Github
See Demo And Download
Official Website(gurov): Click Here
This superior jQuery/javascript plugin is developed by gurov. For extra advanced usage, please go to the official website.