Results for “events”
Small, practical examples. Search by task or narrow things down below.
Prevent a link’s default navigation
Prevent a link’s default navigation with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Read a data attribute from the current target
Read a data attribute from the current target with a small React component and explicit browser behavior.
React✓ Tested
Read a DOM element through a viewChild signal
Read a DOM element through a viewChild signal with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Read a typed input event
Read a typed input event with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Render untrusted-looking input as literal text
Render untrusted-looking input as literal text with a small React component and explicit browser behavior.
React✓ Tested
Stop a nested click from reaching its parent
Stop a nested click from reaching its parent with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Stop an event from reaching a parent handler
Stop an event from reaching a parent handler with a small React component and explicit browser behavior.
React✓ Tested
Validate a field when focus leaves it
Validate a field when focus leaves it with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Block deletion of a referenced parent
SQL: The default foreign-key action prevents deletion while a child still refers to the parent.
SQL✓ Tested
Block deletion of a referenced parent
SQL Server: The default foreign-key action prevents deletion while a child still refers to the parent.
SQL Server✓ Tested
Block deletion of a referenced parent
Postgres: The default foreign-key action prevents deletion while a child still refers to the parent.
Postgres✓ Tested
Block deletion of a referenced parent
SQLite: The default foreign-key action prevents deletion while a child still refers to the parent.
SQLite✓ Tested