net.java.html.lib.knockout.KnockoutComponents Maven / Gradle / Ivy
package net.java.html.lib.knockout;
public class KnockoutComponents extends net.java.html.lib.Objs {
protected KnockoutComponents(net.java.html.lib.Objs.Constructor> c, java.lang.Object js) {
super(c, js);
}
private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
$Constructor() {
super(KnockoutComponents.class);
}
@Override
public KnockoutComponents create(java.lang.Object obj) {
return obj == null ? null : new KnockoutComponents(this, obj);
}
};
private static final $Constructor $AS = new $Constructor();
public static KnockoutComponents $as(java.lang.Object obj) {
return $AS.create(obj);
}
public net.java.html.lib.Objs.Property defaultLoader = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.knockout.KnockoutComponentTypes.Loader.class, "defaultLoader");
public net.java.html.lib.knockout.KnockoutComponentTypes.Loader defaultLoader() { return defaultLoader.get(); }
public net.java.html.lib.Objs.Property loaders = net.java.html.lib.Objs.Property.create(this, net.java.html.lib.Array.class, "loaders");
public net.java.html.lib.knockout.KnockoutComponentTypes.Loader[] loaders() { return loaders.get(); }
public void clearCachedDefinition(java.lang.String componentName) {
$Typings$.clearCachedDefinition$15($js(this), componentName);
}
public void get(java.lang.String componentName, net.java.html.lib.Function.A1 super net.java.html.lib.knockout.KnockoutComponentTypes.Definition,? extends java.lang.Void> callback) {
$Typings$.get$16($js(this), componentName, net.java.html.lib.Objs.$js(net.java.html.lib.Function.newFunction(callback, new Class[] {net.java.html.lib.knockout.KnockoutComponentTypes.Definition.class})));
}
public java.lang.String getComponentNameForNode(net.java.html.lib.dom.Node node) {
return $Typings$.getComponentNameForNode$17($js(this), /* FirstTypeNode*/$js(node));
}
public java.lang.Boolean isRegistered(java.lang.String componentName) {
return $Typings$.isRegistered$18($js(this), componentName);
}
// overloads for register method:
public void register(java.lang.String componentName, net.java.html.lib.knockout.KnockoutComponentTypes.Config config) {
$Typings$.register$19($js(this), componentName, /* UnionType*/$js(config));
}
// overloads for register method:
public void register(java.lang.String componentName, net.java.html.lib.knockout.KnockoutComponentTypes.EmptyConfig config) {
$Typings$.register$19($js(this), componentName, /* UnionType*/$js(config));
}
public void unregister(java.lang.String componentName) {
$Typings$.unregister$20($js(this), componentName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy