Class: Loader

ui.Loader

new ui.Loader ()

Element for embedding a Shui element dynamically, either from a Shui file or a Shui template.

Properties:
Name Type Description
source string

(default: "") The source URL of a Shui file.

sourceTemplate function

(default: null) A Shui template.

item html.Object

[readonly] The embedded item after it has been loaded. null otherwise.

loading bool

[readonly] Whether the element is being loaded currently.

Extends