UNPKG

billboard.js

Version:

Re-usable easy interface JavaScript chart library, based on D3 v4+

36 lines (30 loc) 646 B
/** * Copyright (c) 2017 ~ present NAVER Corp. * billboard.js project is licensed under the MIT license */ export interface Plugin { /** * Version info string for plugin */ version: string; /** * Lifecycle hook for 'beforeInit' phase. */ $beforeInit?: (this: Plugin) => void; /** * Lifecycle hook for 'init' phase. */ $init?: (this: Plugin) => void; /** * Lifecycle hook for 'afterInit' phase. */ $afterInit?: (this: Plugin) => void; /** * Lifecycle hook for 'redraw' phase. */ $redraw?: (this: Plugin) => void; /** * Lifecycle hook for 'willDestroy' phase. */ $willDestroy?: (this: Plugin) => void; }