preventDefault method
Prevents PCanvasEvent.nativeEvent default behavior if pCanvas
parameter or field is provided.
Implementation
bool preventDefault([PCanvas? pCanvas]) {
pCanvas ??= this.pCanvas;
return pCanvas?.preventEventDefault(this) ?? false;
}