get

Gets the value of the specified option.

Example - retrieving an option value

<script>
    var options = new kendo.drawing.OptionsStore({
        foo: {
            bar: true
        }
    });

    // The bar variable will be set to true by any of these statements:
    var bar = options.get("foo.bar");
    var bar = options.foo.get("bar");
    var bar = options.foo.bar;
</script>

Parameters

field StringThe field name to retrieve.

Must be a fully qualified name (e.g. "foo.bar") for nested options.

ReturnsObject The current option value.

In this article