Templates
@types/akumina-core - v5.0.0 › Globals › Templates
Hierarchy
- Templates
Index
Methods
- BindErrorTemplateForWidgets
- GetCoreTemplate
- GetErrorTemplate
- GetFullViewPrefix
- GetViewPrefix
- GetVirtualMasterTemplate
- ParseTemplate
- RequestTemplateFromServer
Methods
BindErrorTemplateForWidgets
▸ BindErrorTemplateForWidgets(errorObj
: any): void
Defined in index.d.ts:1567
Bind error templates for widgets
Parameters:
Name | Type | Description |
---|---|---|
errorObj | any |
Returns: void
GetCoreTemplate
▸ GetCoreTemplate(htmlFile
: string): string
Defined in index.d.ts:1560
Parameters:
Name | Type |
---|---|
htmlFile | string |
Returns: string
GetErrorTemplate
▸ GetErrorTemplate(data
: object): Promise‹any›
Defined in index.d.ts:1562
Parameters:
Name | Type |
---|---|
data | object |
Returns: Promise‹any›
GetFullViewPrefix
▸ GetFullViewPrefix(): string
Defined in index.d.ts:1568
Returns: string
GetViewPrefix
▸ GetViewPrefix(): void
Defined in index.d.ts:1557
Returns: void
GetVirtualMasterTemplate
▸ GetVirtualMasterTemplate(): string
Defined in index.d.ts:1561
Returns: string
ParseTemplate
▸ ParseTemplate(url
: string, data
: any): Promise‹any›
Defined in index.d.ts:1558
Parameters:
Name | Type |
---|---|
url | string |
data | any |
Returns: Promise‹any›
RequestTemplateFromServer
▸ RequestTemplateFromServer(url
: string): Promise‹any›
Defined in index.d.ts:1559
Parameters:
Name | Type |
---|---|
url | string |
Returns: Promise‹any›