core/docs/docs.service.ts
Properties |
|
Methods |
Accessors |
constructor(options: OptionsService, app: AppStateService, rootInjector: Injector, router: Router)
|
|||||||||||||||
Parameters :
|
get |
get()
|
Returns :
any
|
getBaseUrl | ||||||
getBaseUrl(uiVersion?: string | literal type)
|
||||||
Parameters :
Returns :
string
|
getUrlWithDocsVersion | |||||||||||||||
getUrlWithDocsVersion(url: string, uiVersion: string | literal type)
|
|||||||||||||||
Takes a URL and replaces all
Parameters :
Returns :
string
The URL with replaced |
getUserGuideLink | ||||
getUserGuideLink(link)
|
||||
Parameters :
Returns :
any
|
list |
list()
|
Returns :
any
|
refresh |
refresh()
|
Returns :
void
|
Readonly DEFAULT_DOCS_BASE_URL |
Type : string
|
Default value : 'https://www.cumulocity.com/guides/{{ version }}'
|
Default documentation URL. |
factories |
Type : DocLinkExtension[]
|
Default value : []
|
Additional factories that can be added by plugins. |
injectors |
Type : []
|
Default value : [this.rootInjector]
|
items$ |
Type : Observable<DocLink[]>
|
Readonly refreshTrigger |
Default value : new Subject()
|
Refresh the extension factories subject. |
templateStr |
gettemplateStr()
|