biz.enef.angular

Scope

Related Doc: package angular

trait Scope extends Object

Defines the bindings to the global angular object.

See also

https://docs.angularjs.org/api/ng/type/$rootScope.Scope

Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Scope
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def $apply(exp: Any = js.native): Any

    Used to execute an expression in angular from outside of the angular framework and returns the result.

    Used to execute an expression in angular from outside of the angular framework and returns the result.

    exp

    An angular expression to be executed (string or a function(scope))

  4. def $applyAsync(exp: Object = js.native): Any

    Schedule the invocation of $$apply to occur at a later time.

    Schedule the invocation of $$apply to occur at a later time.

    exp

    An angular expression to be executed (string or a function(scope))

  5. def $broadcast(name: String, args: Any*): Object

    Dispatches an event name downwards to all child scopes.

    Dispatches an event name downwards to all child scopes.

    name

    Event name to broadcast

    args

    Arguments passed to event listeners

    returns

    event object

  6. def $destroy(): Unit

    Removes the current scope (and all of its children) from the parent scope.

  7. def $digest(): Unit

    Processes all of the watchers of the current scope and its children.

  8. def $emit(name: String, args: Any*): Object

    Dispatches an event name upwards through the scope hierarchy.

    Dispatches an event name upwards through the scope hierarchy.

    name

    Event name to emit

    args

    Arguments that will be passed to event listeners

    returns

    event object

  9. def $eval(expression: Object = js.native, locals: Object = js.native): Any

    Executes the expression on the current scope and returns the result.

    Executes the expression on the current scope and returns the result.

    expression

    An angular expression to be executed (either a string or a function(scope))

    locals

    Local variables object, useful for overriding values in scope

  10. def $evalAsync(expression: Object = js.native, locals: Object = js.native): Any

    Evaluates the expression on the current scope at a later point in time.

    Evaluates the expression on the current scope at a later point in time.

    expression

    An angular expression to be executed (either a string or a function(scope))

    locals

    Local variables object, useful for overriding values in scope

  11. val $id: Int

    Unique scope ID

  12. def $new(isolate: Boolean, parent: Scope = null): Scope

    Creates a new child scope.

    Creates a new child scope.

    isolate

    If true, then the scope does not prototypically inherit from the parent scope

    parent

    The parent scope (default to this, if not provided)

  13. def $on(name: String, listener: Function): Function

    Listens on events of a given type.

    Listens on events of a given type.

    name

    Event name to listen on

    listener

    Callback function (function(event, ...args)

  14. val $parent: Scope

    Reference to the parent scope.

  15. val $root: Scope

    Reference to the root scope.

  16. def $watch(watchExpression: Any, listener: Function = null): Function

    Registers a listener callback to be executed whenever the watchExpression changes.

    Registers a listener callback to be executed whenever the watchExpression changes.

    watchExpression

    Called on every $$digest() and should return the value that should be watched

    listener

    Callback function which is only executed when the watchExpression has changed. Called with three arguments: new value, old value, current scope

    returns

    de-registration function

  17. def $watchCollection(obj: Object, listener: Function3[Object, Object, Scope, Unit]): Function

    Shallow watches the properties of an object and fires whenever any of the properties change.

    Shallow watches the properties of an object and fires whenever any of the properties change.

    obj

    Collection watched via $watch

    listener

    Callback function with three arguments: new collection, old collection, current scope

    returns

    De-registration function

  18. def $watchGroup(watchExpressions: Array[Object], listener: Function): Function

    A variant of $$watch where it watches an array of watchExpressions

    A variant of $$watch where it watches an array of watchExpressions

    watchExpressions

    Array of expressions that will be individually watched using $$watch

    listener

    Callback function which is executed whenever any of the expressions in watchExpression has changed Called with three arguments: new values, old values, current scope

    returns

    de-registration function

  19. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hasOwnProperty(v: String): Boolean

    Definition Classes
    Object
  27. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. def isPrototypeOf(v: Object): Boolean

    Definition Classes
    Object
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. final def notify(): Unit

    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  33. def propertyIsEnumerable(v: String): Boolean

    Definition Classes
    Object
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toLocaleString(): String

    Definition Classes
    Object
  36. def toString(): String

    Definition Classes
    AnyRef → Any
  37. def valueOf(): Any

    Definition Classes
    Object
  38. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped