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 String

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

Returns

Object The current option value.

In this article
get
Not finding the help you need?
Contact Support