How does angular get the coordinates of the mouse?

how can I get the mouse coordinates? I can now see that pageX,pageY, can be run through window.event, but an error is reported by a red underscore in the editor, so I want to ask how to get the mouse coordinates correctly.
the error is that there is no pageX attribute in the event type.

Feb.10,2022

A simple way to remove the error report:
(window as any). Event
I think it would be better to write an instruction to handle the mouse movement event in the instruction

</component>

the first parameter of this method is the event object, which you should be able to see when you output it.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9f33b-1a3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9f33b-1a3e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?