core/wizard/wizard.service.ts
Properties |
|
Methods |
|
Accessors |
constructor(bsModalService: BsModalService, injector: Injector, router: Router)
|
||||||||||||
Parameters :
|
add | ||||||||
add(entry: WizardEntry)
|
||||||||
Adds a new entry in the wizard.
Parameters :
Returns :
void
|
getEntriesListById | ||||||
getEntriesListById(id: string)
|
||||||
List of wizard entries matching the given id.
Parameters :
Returns :
Observable<WizardEntry[]>
observable with list of wizard entries. |
refresh |
refresh()
|
Refresh the extension factories.
Returns :
void
|
remove | ||||||||
remove(entry: WizardEntry)
|
||||||||
Removes entry from the wizard.
Parameters :
Returns :
void
|
show | ||||||||||
show(modalOptions: ModalOptions)
|
||||||||||
Shows a wizard modal.
Parameters :
Returns :
BsModalRef<WizardComponent>
a reference to the modal. |
Protected emitNewState |
emitNewState()
|
Emits a new state.
Returns :
void
|
map | ||||||||
map(mappedProperty: (undefined) => void)
|
||||||||
Maps to a property and just returns that property.
Parameters :
Returns :
Observable<any>
|
Readonly bodyTemplate$ |
Type : Subject<literal type>
|
Default value : new Subject()
|
Wizard body subject. It emits body template. |
factories |
Type : WizardExtension[]
|
Default value : []
|
Additional factories that can be added by plugins. |
Readonly footerTemplate$ |
Type : Subject<literal type>
|
Default value : new Subject()
|
Wizard footer subject. It emits footer template. |
Readonly headerTemplate$ |
Type : Subject<literal type>
|
Default value : new Subject()
|
Wizard header subject. It emits header template. |
Readonly items$ |
Type : Observable<WizardEntry[]>
|
Wizard list observable. It emits the current list of the wizard entries. |
Readonly refreshTrigger |
Default value : new Subject()
|
Refresh the extension factories subject. |
state |
getstate()
|
Returns the current state.
Returns :
Set<WizardEntry>
|