nl_tokens: Create a new CanvasWidget instance
pl_tokens: function create ( props ) { var shouldUseTouch = _utilities2 . default . getMode ( ) === 'touch' ; _domWidget2 . default . <mask> . call ( this ) ; Object . assign ( this , CanvasWidget . defaults ) ; /**
       * Store a reference to the canvas 2D context.
       * @memberof CanvasWidget
       * @instance
       * @type {CanvasRenderingContext2D}
       */ this . ctx = this . element . getContext ( '2d' ) ; this . applyHandlers ( shouldUseTouch ) ; }