preventDefault
Description​
If called, the original mouse action is prevented and the event is flagged as handled.
- JavaScript
- C#
- Kotlin
preventDefault(): voidvoid PreventDefault()fun preventDefault(): UnitIf called, the original mouse action is prevented and the event is flagged as handled.
preventDefault(): voidvoid PreventDefault()fun preventDefault(): Unit