public class Loader extends Objs
Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Boolean> |
suppressLoaderExceptions |
Modifier | Constructor and Description |
---|---|
protected |
Loader(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
static Loader |
$as(Object obj) |
void |
getConfig(String componentName,
Function.A1<? super ComponentConfig,? extends Void> callback) |
void |
loadComponent(String componentName,
ComponentConfig config,
Function.A1<? super Definition,? extends Void> callback) |
void |
loadTemplate(String componentName,
Object templateConfig,
Function.A1<? super Array<Node>,? extends Void> callback) |
void |
loadViewModel(String componentName,
Object viewModelConfig,
Function.A1<? super Object,? extends Void> callback) |
Boolean |
suppressLoaderExceptions() |
$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOf
public Objs.Property<Boolean> suppressLoaderExceptions
protected Loader(Objs.Constructor<?> c, Object js)
public Boolean suppressLoaderExceptions()
public void getConfig(String componentName, Function.A1<? super ComponentConfig,? extends Void> callback)
public void loadComponent(String componentName, ComponentConfig config, Function.A1<? super Definition,? extends Void> callback)
public void loadTemplate(String componentName, Object templateConfig, Function.A1<? super Array<Node>,? extends Void> callback)
public void loadViewModel(String componentName, Object viewModelConfig, Function.A1<? super Object,? extends Void> callback)
Copyright © 2018. All rights reserved.