ngMock.angular.mock.dump

Improve this Doc View Source angular.mock.dump

  1. function in module ngMock

NOTE: this is not an injectable instance, just a globally available function.

Method for serializing common angular objects (scope, elements, etc..) into strings, useful for debugging.

This method is also available on window, where it can be used to display objects on debug console.

Usage

angular.mock.dump(object);

Arguments

Param Type Details
object *

any object to turn into string.

Returns

string

a serialized string of the argument

© 2010–2016 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://code.angularjs.org/1.4.14/docs/api/ngMock/function/angular.mock.dump

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部