New to Kendo UI for Angular? Start a free 30-day trial

OptionsObserver

Defines the interface of an object that listens to changes on an OptionsStore.

See OptionsStore

Methods

optionsChange

Called when an option changes.

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

class Observer implements OptionsObserver {
  optionsChange(change: OptionsChange) {
    console.log(change.field, change.value);
  }
}

const options = new OptionsStore();
options.observer = new Observer();

options.set('foo', 'bar');

Parameters

change OptionsChange

Detailed information for the change.

In this article

Not finding the help you need?