Position of Alerts
- Last UpdatedNov 02, 2022
- 1 minute read
By default, an Alert is automatically positioned when it is displayed so that it is under the cursor. Optionally, two more arguments may be supplied to specify the screen position at which an alert is to appear:
!!Alert.Error( 'You cannot do this!' , 0.25, 0.1)
This shows the alert with its origin one quarter of the way across from the left hand side of the screen and one tenth of the way down from the top.