public class JsScopeBase<T extends Scope<T>> extends JsModelBase<T> implements Scope<T>
| Modifier | Constructor and Description |
|---|---|
protected |
JsScopeBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
$apply() |
void |
$apply(java.lang.Runnable runnable) |
void |
$apply(java.lang.String expr) |
void |
$on(java.lang.String eventName,
java.lang.Runnable runnable) |
void |
$onDestroy(java.lang.Runnable runnable) |
<S> void |
$watch(java.lang.String expr,
WatchFunction<S> func) |
jsoncast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic final <S> void $watch(java.lang.String expr,
WatchFunction<S> func)
public final void $apply(java.lang.String expr)
public final void $apply(java.lang.Runnable runnable)
public final void $onDestroy(java.lang.Runnable runnable)
$onDestroy in interface Scope<T extends Scope<T>>