IgxDividerDirective

new IgxDividerDirective(): IgxDividerDirective

Returns IgxDividerDirective

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

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

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: 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

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