paradiego
This commit is contained in:
19
node_modules/chart.js/dist/platform/platform.dom.d.ts
generated
vendored
Normal file
19
node_modules/chart.js/dist/platform/platform.dom.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Platform class for charts that can access the DOM and global window/document properties
|
||||
* @extends BasePlatform
|
||||
*/
|
||||
export default class DomPlatform extends BasePlatform {
|
||||
/**
|
||||
* @param {HTMLCanvasElement} canvas
|
||||
* @param {number} [aspectRatio]
|
||||
* @return {CanvasRenderingContext2D|null}
|
||||
*/
|
||||
acquireContext(canvas: HTMLCanvasElement, aspectRatio?: number): CanvasRenderingContext2D | null;
|
||||
/**
|
||||
* @param {Chart} chart
|
||||
* @param {string} type
|
||||
*/
|
||||
removeEventListener(chart: Chart, type: string): void;
|
||||
}
|
||||
export type Chart = import('../core/core.controller.js').default;
|
||||
import BasePlatform from "./platform.base.js";
|
||||
Reference in New Issue
Block a user