UIRendering
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(arg_runtime: object, arg_store: object): nothing Create a UI rendering instance. |
Member Summary
Public Members | ||
public |
|
Private Members | ||
private |
_assets_urls_templates: {"script": *, "style": *, "image": *, "html": *} |
|
private |
|
|
private |
|
|
private |
_runtime: * |
|
private |
_ui: * |
Method Summary
Public Methods | ||
public |
create_dom_url_element(arg_dom_element: *, arg_tag: *, arg_id: *, arg_url: *, arg_type: *) |
|
public |
get_asset_url(arg_url: *, arg_type: *, arg_credentials: *): * |
|
public |
process_assets_urls_templates(arg_assets_urls_templates: *) |
|
public |
process_rendering_result_headers(arg_rendering_result_headers: *[]) |
|
public |
process_rendering_result_scripts_tags(arg_dom_element: *, arg_rendering_result_scripts_tags: *[]) |
|
public |
process_rendering_result_scripts_urls(arg_dom_element: *, arg_rendering_result_scripts_urls: *[], arg_credentials: *) |
|
public |
process_rendering_result_styles_tags(arg_dom_element: *, arg_rendering_result_styles_tags: *[]) |
|
public |
process_rendering_result_styles_urls(arg_dom_element: *, arg_rendering_result_styles_urls: *[], arg_credentials: *) |
Public Constructors
public constructor(arg_runtime: object, arg_store: object): nothing source
Create a UI rendering instance.
API:
->constructor(arg_runtime, arg_ui)
->process_assets_urls_templates(arg_assets_urls_templates)
->process_rendering_result_headers(arg_rendering_result_headers=[], arg_credentials)
->get_asset_url(arg_url, arg_type, arg_credentials=undefined)
->create_dom_url_element(arg_dom_element, arg_tag, arg_id, arg_url, arg_type)
->process_rendering_result_scripts_urls(arg_dom_element, arg_rendering_result_scripts_urls=[], arg_credentials)
->process_rendering_result_scripts_tags(arg_dom_element, arg_rendering_result_scripts_tags=[], arg_credentials)
->process_rendering_result_styles_urls(arg_dom_element, arg_rendering_result_styles_urls=[], arg_credentials)
->process_rendering_result_styles_tags(arg_dom_element, arg_rendering_result_styles_tags=[], arg_credentials)
Return:
nothing |
Public Members
Private Members
private _assets_urls_templates: {"script": *, "style": *, "image": *, "html": *} source
private _content_element: * source
private _runtime: * source
private _ui: * source
Public Methods
public create_dom_url_element(arg_dom_element: *, arg_tag: *, arg_id: *, arg_url: *, arg_type: *) source
Params:
Name | Type | Attribute | Description |
arg_dom_element | * | ||
arg_tag | * | ||
arg_id | * | ||
arg_url | * | ||
arg_type | * |
public get_asset_url(arg_url: *, arg_type: *, arg_credentials: *): * source
Params:
Name | Type | Attribute | Description |
arg_url | * | ||
arg_type | * | ||
arg_credentials | * |
|
Return:
* |
public process_assets_urls_templates(arg_assets_urls_templates: *) source
Params:
Name | Type | Attribute | Description |
arg_assets_urls_templates | * |
public process_rendering_result_headers(arg_rendering_result_headers: *[]) source
Params:
Name | Type | Attribute | Description |
arg_rendering_result_headers | *[] |
|
public process_rendering_result_scripts_tags(arg_dom_element: *, arg_rendering_result_scripts_tags: *[]) source
Params:
Name | Type | Attribute | Description |
arg_dom_element | * | ||
arg_rendering_result_scripts_tags | *[] |
|
public process_rendering_result_scripts_urls(arg_dom_element: *, arg_rendering_result_scripts_urls: *[], arg_credentials: *) source
Params:
Name | Type | Attribute | Description |
arg_dom_element | * | ||
arg_rendering_result_scripts_urls | *[] |
|
|
arg_credentials | * |
public process_rendering_result_styles_tags(arg_dom_element: *, arg_rendering_result_styles_tags: *[]) source
Params:
Name | Type | Attribute | Description |
arg_dom_element | * | ||
arg_rendering_result_styles_tags | *[] |
|
public process_rendering_result_styles_urls(arg_dom_element: *, arg_rendering_result_styles_urls: *[], arg_credentials: *) source
Params:
Name | Type | Attribute | Description |
arg_dom_element | * | ||
arg_rendering_result_styles_urls | *[] |
|
|
arg_credentials | * |