Results 1521 - 1540 of 1,719

CameraManager.getListOfCameras()

This method is used to get an Array of identifiers of all the cameras available on the device.
API B2G camera Camera Firefox OS Graphics JavaScript Method Reference Référence WebAPI

Console.assert()

Writes an error message to the console if the assertion is false. If the assertion is true, nothing happens.
API console Console debugging Debugging DOM Method NeedsBrowserCompatibility web console Web Development

Console.dir()

Displays an interactive list of the properties of the specified JavaScript object. The output is presented as a hierarchical listing with disclosure triangles that let you see the contents of child objects.
API console console.dir Debugging debugging dir DOM JSON Method NeedsBrowserCompatibility web console Web Development

Console.groupCollapsed()

Creates a new inline group in the Web Console. Unlike console.group(), however, the new group is created collapsed. The user will need to use the disclosure button next to it to expand it, revealing the entries created in the group.
API debugging Debugging DOM DOM Reference Method NeedsBrowserCompatibility Reference web console Web Development