UNPKG

@dartbot/dartboard

Version:

Dartboard implemented as a vanilla web component

8 lines 222 B
/** * Clear out the full area of the canvas */ export const clearBoard = (context) => { const { width, height } = context.canvas; context.clearRect(0, 0, width, height); }; //# sourceMappingURL=clear-board.js.map