Constructors
Section titled "Constructors"IgxDividerDirective
new IgxDividerDirective(): IgxDividerDirective Returns IgxDividerDirective
Properties
Section titled "Properties"Sets/gets the id of the divider.
If not set, id will have value "igx-divider-0";
<igx-divider id="my-divider"></igx-divider>let dividerId = this.divider.id; id: string Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:29
middle
Section titled "middle"If set to true and an inset value has been provided,
the divider will start shrinking from both ends.
<igx-divider [middle]="true"></igx-divider> middle: boolean = false Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:64
Sets the value of role attribute.
If not the default value of separator will be used.
role: string = 'separator' Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:37
Sets the type of the divider. The default value
is default. The divider can also be dashed;
<igx-divider type="dashed"></igx-divider> type: string = IgxDividerType.SOLID Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:48
vertical
Section titled "vertical"Sets the divider in vertical orientation.
<igx-divider [vertical]="true"></igx-divider> vertical: boolean = false Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:74
inset
Section titled "inset"inset: string Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:86, projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:97
Accessors
Section titled "Accessors"isDashed
Section titled "isDashed"get isDashed(): boolean Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:51
Returns boolean
isSolid
Section titled "isSolid"A getter that returns true if the type of the divider is default;
const isDefault = this.divider.isDefault;get isSolid(): boolean Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:116
Returns boolean