Typescript Library Declarations (DOM)
Function onclick
Fires when the user clicks the left mouse button on the object
onclick
(
this
,
ev
)
:
any
Parameters
this
:
Window
ev
:
MouseEvent
The mouse event.
MDN Reference
Returns
any
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
Typescript Library Declarations (DOM)
Fires when the user clicks the left mouse button on the object