API reference for Angular Material divider
import {MatDividerModule} from '@angular/material/divider';
Directives
MatDivider
Selector: mat-divider
Properties
Name | Description |
---|---|
@Input()
|
Whether the divider is an inset divider. |
@Input()
|
Whether the divider is vertically aligned. |
API reference for Angular Material divider-testing
import {MatDividerHarness} from '@angular/material/divider/testing';
Classes
MatDividerHarness
extends
ComponentHarness
Harness for interacting with a mat-divider
.
Properties
Name | Description |
---|---|
|
Methods
async
getOrientation
|
|
---|---|
Returns | |
Promise<'horizontal' | 'vertical'>
|
|
async
host
|
|
---|---|
Gets a |
|
Returns | |
Promise<TestElement>
|
|
async
isInset
|
|
---|---|
Returns | |
Promise<boolean>
|
|
static
with
|
|
---|---|
Parameters | |
options DividerHarnessFilters = {}
|
|
Interfaces
DividerHarnessFilters
Divider
Testing