Skip to content

Commit a585d1c

Browse files
authored
docs(nav-drawer): show hidden properties (#14542)
1 parent 5318c5f commit a585d1c

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

projects/igniteui-angular/src/lib/navigation-drawer/navigation-drawer.directives.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,24 @@ import { Directive, HostBinding, Input, TemplateRef, booleanAttribute } from '@a
88
export class IgxNavDrawerItemDirective {
99

1010
/**
11-
* @hidden
11+
* Styles a navigation drawer item as selected.
12+
* If not set, `active` will have default value `false`.
13+
*
14+
* @example
15+
* ```html
16+
* <span igxDrawerItem [active]="true">Active Item</span>
17+
* ```
1218
*/
1319
@Input({ alias: 'active', transform: booleanAttribute }) public active = false;
1420

1521
/**
16-
* @hidden
22+
* Styles a navigation drawer item as a group header.
23+
* If not set, `isHeader` will have default value `false`.
24+
*
25+
* @example
26+
* ```html
27+
* <span igxDrawerItem [isHeader]="true">Header</span>
28+
* ```
1729
*/
1830
@Input({ alias: 'isHeader', transform: booleanAttribute }) public isHeader = false;
1931

0 commit comments

Comments
 (0)