Skip to content

Commit 664a27b

Browse files
committed
fix(cdk-experimental/toolbar) improved demo settings
1 parent d50e6e3 commit 664a27b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components-examples/cdk-experimental/toolbar/cdk-toolbar-configurable/cdk-toolbar-configurable-example.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ import {CdkToolbar, CdkToolbarWidget} from '@angular/cdk-experimental/toolbar';
2626
],
2727
})
2828
export class CdkToolbarConfigurableExample {
29-
orientation: 'vertical' | 'horizontal' = 'vertical';
30-
disabled = new FormControl(false, {nonNullable: true});
29+
skipDisabled = new FormControl(true, {nonNullable: true});
30+
wrap = new FormControl(true, {nonNullable: true});
3131
toolbarDisabled = new FormControl(false, {nonNullable: true});
32+
orientation: 'vertical' | 'horizontal' = 'horizontal';
33+
focusMode: 'roving' | 'activedescendant' = 'roving';
3234

3335
fruits = ['Apple', 'Apricot', 'Banana'];
3436
buttonFruits = ['Pear', 'Blueberry', 'Cherry', 'Date'];
3537

36-
// New controls
38+
// Radio group controls
39+
disabled = new FormControl(false, {nonNullable: true});
3740
readonly = new FormControl(false, {nonNullable: true});
38-
skipDisabled = new FormControl(true, {nonNullable: true});
39-
focusMode: 'roving' | 'activedescendant' = 'roving';
40-
wrap = new FormControl(true, {nonNullable: true});
4141

4242
// Control for which radio options are individually disabled
4343
disabledOptions: string[] = ['Banana'];

0 commit comments

Comments
 (0)