Results for “element”
Small, practical examples. Search by task or narrow things down below.
Handle an event emitted by a child
Handle an event emitted by a child with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Handle an optional dependency
Handle an optional dependency with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Handle Escape to dismiss a panel
Handle Escape to dismiss a panel with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Handle the Enter key specifically
Handle the Enter key specifically with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Initialize component data with ngOnInit
Initialize component data with ngOnInit with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Inject a service into a component
Inject a service into a component with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Insert a value while preserving sorted order
Python: Use insort on an already sorted list; insertion still shifts later list elements.
Python✓ Tested
Insert into an array with spare capacity
C: Move the trailing elements before inserting and keep the logical length separate from capacity.
C✓ Tested
Inspect structured data with JsonPipe
Inspect structured data with JsonPipe with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Iterate over a fixed array of records
C: Compute the array element count with sizeof at the point where it is still an array.
C✓ Tested
Join transformed stream values
Java: Use Collectors.joining after converting elements to strings.
Java✓ Tested
Keep a secondary button from submitting a form
Keep a secondary button from submitting a form with a standalone Angular component and explicit browser behavior.
Angular✓ Tested