src/lib/markup-kit/executors/mefdev-executor-page/mefdev-executor-page.component.ts
A component that allows us to create a content page - a step in our executor. Each individual step can have different styles, content and settings.
Example of usage:
<mefdev-executor-page
[title]="'Executor title 1'"
[isActive]="mainExecutor.activePageInd === 0"
[isCompleted]="mainExecutor.activePageInd >= 0"
class="yourClass">
<!-- Content of the first executor step -->
</mefdev-executor-page>
<mefdev-executor-page
[title]="'Executor title 2'"
[isActive]="mainExecutor.activePageInd === 1"
[isCompleted]="mainExecutor.activePageInd >= 1"
class="yourClass">
<!-- Content of the second executor step -->
</mefdev-executor-page>
<mefdev-executor-page
[title]="'Executor title 3'"
[isActive]="mainExecutor.activePageInd === 2"
[isCompleted]="mainExecutor.activePageInd >= 2"
class="yourClass">
<!-- Content of the third executor step -->
</mefdev-executor-page>
OnChanges
selector | mefdev-executor-page |
template |
|
Properties |
|
Inputs |
Outputs |
constructor(_mainExecutor: StepExecutorComponent, _elementRef: ElementRef)
|
|||||||||
Parameters :
|
isActive |
Type : boolean
|
Default value : false
|
The input parameter that corresponds to whether the current step matches the respective page. The value of the active page is passed by reference from the specific component StepExecutorComponent.
|
isCompleted |
Type : boolean
|
Default value : false
|
The input parameter that checks whether the step is completed.
|
title |
Type : string
|
The title of the step
|
Public elRef |
Type : ElementRef
|