src/drawer.multicanvas.js
/**
     * Add a canvas to the canvas list
     *
     * @private
     */
Add a canvas to the canvas list
@private
Add a canvas to the canvas list @private
addCanvas() {
        const entry = new this.EntryClass();
        entry.hasProgressCanvas = this.hasProgressCanvas;
        entry.halfPixel = this.halfPixel;
        const leftOffset = this.maxCanvasElementWidth * this.canvases.length;
        entry.initWave(
            this.wrapper.appendChild(
                this.style(document.createElement('canvas'), {
                    position: 'absolute',
                    zIndex: 2,
                    left: leftOffset + 'px',
                    top: 0,
                    bottom: 0,
                    height: '100%',
                    pointerEvents: 'none'
                })
            )
        );
        if (this.hasProgressCanvas) {
            entry.initProgress(
                this.progressWave.appendChild(
                    this.style(document.createElement('canvas'), {
                        position: 'absolute',
                        left: leftOffset + 'px',
                        top: 0,
                        bottom: 0,
                        height: '100%'
                    })
                )
            );
        }
        this.canvases.push(entry);
    }
addCanvas ( ) { const entry = new this . EntryClass ( ) ; entry . hasProgressCanvas = this . hasProgressCanvas ; entry . halfPixel = this . halfPixel ; const leftOffset = this . maxCanvasElementWidth * this . canvases . length ; entry . initWave ( this . wrapper . appendChild ( this . style ( document . createElement ( 'canvas' ) , { position : 'absolute' , zIndex : 2 , left : leftOffset + 'px' , top : 0 , bottom : 0 , height : '100%' , pointerEvents : 'none' } ) ) ) ; if ( this . hasProgressCanvas ) { entry . initProgress ( this . progressWave . appendChild ( this . style ( document . createElement ( 'canvas' ) , { position : 'absolute' , left : leftOffset + 'px' , top : 0 , bottom : 0 , height : '100%' } ) ) ) ; } this . canvases . push ( entry ) ; }
Add a canvas to the canvas list
 @private
Add a canvas to the canvas list @private
// wave // progress