UNPKG

@quartic/bokehjs

Version:

Interactive, novel data visualization

25 lines (19 loc) 501 B
import {Model} from "../../model" import * as p from "core/properties" export class Range extends Model type: 'Range' initialize: (options) -> super(options) @listenTo(@, 'change', () -> @callback?.execute(@)) @define { callback: [ p.Instance ] } @internal { plots: [ p.Array, [] ] } reset: () -> """ This method should be reimplemented by subclasses and ensure that the callback, if exists, is executed at completion. """ @trigger('change')