New to Kendo UI for AngularStart a free 30-day trial

Stores nested settings and notifies an (optional) observer of changes.

Definition

Package:@progress/kendo-drawing

Syntax:

ts
import { OptionsStore } from '@progress/kendo-drawing';

const options = new OptionsStore({
  foo: {
    bar: true
  }
});

Methods

Gets the value of the specified option.

Parameters:fieldstring

The field name to retrieve. Has to be a fully qualified name for nested options. For example, "foo.bar".

Returns:

any

  • The current option value.

Sets the value of the specified option.

Parameters:fieldstring

The name of the option to set. Has to be a fully qualified name for nested options. For example, "foo.bar".

valueany

The new option value. If the new value is the same as the old value, the operation will not notify the observer, if any.

Properties

An optional observer for the options store. Upon field modification, the optionsChange(e) method on the observer will be called and will provide information for the change.

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