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
Accessors
Section titled "Accessors"inset
Section titled "inset"Gets the current divider inset in terms of inset-inline-start representation as applied to the divider.
const inset = this.divider.inset; get inset(): string Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:97
Returns string
Sets the inset of the divider from the side(s).
If the divider attribute middle is set to true,
it will inset the divider on both sides.
this.divider.inset = '32px'; set inset(value: string): void Defined in projects/igniteui-angular/directives/src/directives/divider/divider.directive.ts:86
Parameters
- value:
string
Returns void
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