core/tabs/tabs.service.ts
Properties |
|
Methods |
Accessors |
constructor(injector: Injector, router: Router, translateService: TranslateService, options: OptionsService)
|
|||||||||||||||
Parameters :
|
add | ||||||||
add(item: Tab)
|
||||||||
Adds a new item to tabs and emits state change
Parameters :
Returns :
void
|
prepareTabs | ||||
prepareTabs(tabs)
|
||||
Parameters :
Returns :
any
|
refresh |
refresh()
|
Refresh the extension factories
Returns :
void
|
remove | ||||||||
remove(item: Tab)
|
||||||||
Removes a tab and emits a state change.
Parameters :
Returns :
void
|
sortTabs | ||||
sortTabs(tabs)
|
||||
Parameters :
Returns :
any
|
items$ |
items$:
|
Type : Observable<Tab[]>
|
orientation$ |
orientation$:
|
Type : Observable<string>
|
Readonly refreshTrigger |
refreshTrigger:
|
Default value : new Subject()
|
Readonly state$ |
state$:
|
Default value : new BehaviorSubject<Set<Tab>>(new Set<Tab>())
|
state |
getstate()
|
Returns the current state.
Returns :
Set<Tab>
|
firstTab$ |
getfirstTab$()
|