blob: 116aa7f025085c8328e6694fcde2e6e9d8e844f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { BrowserModule } from '@angular/platform-browser';
import { CheckboxComponent } from './checkbox.component';
@NgModule({
imports: [CommonModule, BrowserModule, FormsModule],
declarations: [CheckboxComponent],
bootstrap: [],
exports: [CheckboxComponent]
})
export class CheckboxModule { }
/** README: **/
/** USAGE Example:
*In page.module.ts: import CheckboxModule
*In HTML:
*<checkbox checkboxStyle="class-goes-here" [label]="'Text goes here'" [disabled]="variable-goes-here" [(checked)]="default-or-variable-goes-here" (checkedChange)="change-event-goes-here()"></checkbox>
*/
/**STYLING: (ViewEncapsulation is set to None to allow styles to be overridden or customized)
*
* To create or override styles:
* Use /deep/ or >>> prefix to override styles via other components stylesheets
*/
|