docs(cdk-stepper): add guide to create stepper (#14710)

* docs(cdk-stepper): add guide to create stepper

* Added guide how to create a custom stepper using the CDK
* Added a material example to demonstrate the custom CDK stepper
* Made steps from CdkStepper public as it is necessary to build
a custom stepper

* Review comments
This commit is contained in:
Michael Hoffmann
2019-01-16 19:37:01 +01:00
committed by vivian-hu
parent 3d3179f2f8
commit f6d0ea80ca
12 changed files with 312 additions and 32 deletions
+1
View File
@@ -41,6 +41,7 @@ export declare class CdkStepper implements AfterViewInit, OnDestroy {
selected: CdkStep;
selectedIndex: number;
selectionChange: EventEmitter<StepperSelectionEvent>;
readonly steps: QueryList<CdkStep>;
constructor(_dir: Directionality, _changeDetectorRef: ChangeDetectorRef, _elementRef?: ElementRef<HTMLElement> | undefined, _document?: any);
_getAnimationDirection(index: number): StepContentPositionState;
_getFocusIndex(): number | null;