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
29
30
31
32
33
|
import { experimentOn } from '@islavi/ng2-component-lab';
export default experimentOn('Checkbox')
.group("Checkbox",[
{
id: 'checkbox',
showSource: true,
title: 'Regular Checkbox',
description: 'Simple checkbox',
template: `<sdc-checkbox label="Simple"></sdc-checkbox>`,
},
{
id: 'checkboxChecked',
showSource: true,
title: 'Regular Checked Checkbox',
description: 'Simple checked checkbox',
template: `<sdc-checkbox label="Checked" [checked]="true"></sdc-checkbox>`,
},
{
id: 'disabledCheckbox',
showSource: true,
title: 'Disabled checkbox',
description: 'Simple disabled checkbox',
template: `<sdc-checkbox label="Disabled"[disabled]="true"></sdc-checkbox>`,
},
{
id: 'disabledCheckboxChecked',
showSource: true,
title: 'Disabled checked checkbox',
description: 'Simple disabled checked checkbox',
template: `<sdc-checkbox label="Disabled" [checked]="true" [disabled]="true"></sdc-checkbox>`,
}
]);
|