Objs.Constructor<T extends Objs>, Objs.Property<T>
Modifier and Type | Field and Description |
---|---|
Objs.Property<Object> |
$$isolateBindings |
Objs.Property<Object> |
$$phase |
Objs.Property<Number> |
$id |
Objs.Property<IScope> |
$parent |
Objs.Property<IRootScopeService> |
$root |
Modifier | Constructor and Description |
---|---|
protected |
IRootScopeService(Objs.Constructor<?> c,
Object js) |
Modifier and Type | Method and Description |
---|---|
Object |
$apply() |
Object |
$apply(Function.A1<? super IScope,? extends Object> exp) |
Object |
$apply(String exp) |
Object |
$applyAsync() |
Object |
$applyAsync(Function.A1<? super IScope,? extends Object> exp) |
Object |
$applyAsync(String exp) |
static IRootScopeService |
$as(Object obj) |
IAngularEvent |
$broadcast(String name,
Object... args)
Dispatches an event name downwards to all child scopes (and their children) notifying the registered $rootScope.Scope listeners.
|
void |
$destroy() |
void |
$digest() |
IAngularEvent |
$emit(String name,
Object... args)
Dispatches an event name upwards through the scope hierarchy notifying the registered $rootScope.Scope listeners.
|
Object |
$eval() |
Object |
$eval(Function.A1<? super IScope,? extends Object> expression) |
Object |
$eval(Function.A1<? super IScope,? extends Object> expression,
Objs locals) |
Object |
$eval(String expression) |
Object |
$eval(String expression,
Objs locals) |
void |
$evalAsync() |
void |
$evalAsync(Function.A1<? super IScope,? extends Object> expression) |
void |
$evalAsync(String expression) |
Object |
$get(String index) |
Number |
$id() |
IScope |
$new() |
IScope |
$new(Boolean isolate) |
IScope |
$new(Boolean isolate,
IScope parent) |
Function.A0<? extends Void> |
$on(String name,
Function.A2<? super IAngularEvent,? super Array<Object>,? extends Object> listener)
Listens on events of a given type.
|
IScope |
$parent() |
IRootScopeService |
$root() |
Function.A0<? extends Void> |
$watch(Function.A1<? super IScope,? extends Object> watchExpression) |
Function.A0<? extends Void> |
$watch(Function.A1<? super IScope,? extends Object> watchExpression,
String listener) |
Function.A0<? extends Void> |
$watch(Function.A1<? super IScope,? extends Object> watchExpression,
String listener,
Boolean objectEquality) |
<T> Function.A0<? extends Void> |
$watch(Function.A1<? super IScope,? extends T> watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener) |
<T> Function.A0<? extends Void> |
$watch(Function.A1<? super IScope,? extends T> watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener,
Boolean objectEquality) |
Function.A0<? extends Void> |
$watch(String watchExpression) |
<T> Function.A0<? extends Void> |
$watch(String watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener) |
<T> Function.A0<? extends Void> |
$watch(String watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener,
Boolean objectEquality) |
Function.A0<? extends Void> |
$watch(String watchExpression,
String listener) |
Function.A0<? extends Void> |
$watch(String watchExpression,
String listener,
Boolean objectEquality) |
<T> Function.A0<? extends Void> |
$watchCollection(Function.A1<? super IScope,? extends T> watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener) |
<T> Function.A0<? extends Void> |
$watchCollection(String watchExpression,
Function.A3<? super T,? super T,? super IScope,? extends Object> listener) |
Function.A0<? extends Void> |
$watchGroup(Object[] watchExpressions,
Function.A3<? super Object,? super Object,? super IScope,? extends Object> listener) |
Function.A0<? extends Void> |
$watchGroup(Objs[] watchExpressions,
Function.A3<? super Object,? super Object,? super IScope,? extends Object> listener) |
$as, $cast, $delete, $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<IScope> $parent
public Objs.Property<IRootScopeService> $root
public Objs.Property<Number> $id
public Objs.Property<Object> $$isolateBindings
public Objs.Property<Object> $$phase
protected IRootScopeService(Objs.Constructor<?> c, Object js)
public static IRootScopeService $as(Object obj)
public IScope $parent()
public IRootScopeService $root()
public Number $id()
public Object $apply()
public Object $apply(Function.A1<? super IScope,? extends Object> exp)
public Object $applyAsync()
public Object $applyAsync(Function.A1<? super IScope,? extends Object> exp)
public IAngularEvent $broadcast(String name, Object... args)
name
- Event name to broadcast.args
- Optional one or more arguments which will be passed onto the event listeners.public void $destroy()
public void $digest()
public IAngularEvent $emit(String name, Object... args)
name
- Event name to emit.args
- Optional one or more arguments which will be passed onto the event listeners.public Object $eval()
public Object $eval(Function.A1<? super IScope,? extends Object> expression, Objs locals)
public Object $eval(Function.A1<? super IScope,? extends Object> expression)
public void $evalAsync()
public void $evalAsync(String expression)
public void $evalAsync(Function.A1<? super IScope,? extends Object> expression)
public IScope $new()
public Function.A0<? extends Void> $on(String name, Function.A2<? super IAngularEvent,? super Array<Object>,? extends Object> listener)
name
- Event name to listen on.listener
- Function to call when the event is emitted.public Function.A0<? extends Void> $watch(String watchExpression, String listener, Boolean objectEquality)
public Function.A0<? extends Void> $watch(String watchExpression)
public Function.A0<? extends Void> $watch(String watchExpression, String listener)
public <T> Function.A0<? extends Void> $watch(String watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener, Boolean objectEquality)
public <T> Function.A0<? extends Void> $watch(String watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener)
public Function.A0<? extends Void> $watch(Function.A1<? super IScope,? extends Object> watchExpression, String listener, Boolean objectEquality)
public Function.A0<? extends Void> $watch(Function.A1<? super IScope,? extends Object> watchExpression)
public Function.A0<? extends Void> $watch(Function.A1<? super IScope,? extends Object> watchExpression, String listener)
public <T> Function.A0<? extends Void> $watch(Function.A1<? super IScope,? extends T> watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener, Boolean objectEquality)
public <T> Function.A0<? extends Void> $watch(Function.A1<? super IScope,? extends T> watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener)
public <T> Function.A0<? extends Void> $watchCollection(String watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener)
public <T> Function.A0<? extends Void> $watchCollection(Function.A1<? super IScope,? extends T> watchExpression, Function.A3<? super T,? super T,? super IScope,? extends Object> listener)
public Function.A0<? extends Void> $watchGroup(Object[] watchExpressions, Function.A3<? super Object,? super Object,? super IScope,? extends Object> listener)
public Function.A0<? extends Void> $watchGroup(Objs[] watchExpressions, Function.A3<? super Object,? super Object,? super IScope,? extends Object> listener)
Copyright © 2018. All rights reserved.