dojo.getObject
<script src="../../js/dojo.js"></script>
defined in dojo/_base/_loader/bootstrap.js
Useful for longer api chains where you have to test each object in the chain, or when you have an object reference in string format.
parameter | type | description |
---|---|---|
name | String | Path to an property, in the form "A.B.C". |
create | Boolean | Optional. Defaults to `false`. If `true`, Objects will be created at any point along the 'path' that is undefined. |
context | Object | Optional. Object to use as root of path. Defaults to 'dojo.global'. Null may be passed. |