Results for “Accessibility & reusable patterns”
Small, practical examples. Search by task or narrow things down below.
Create a reusable one-to-many lookup
C#: ToLookup groups values by key and returns an empty sequence for an unknown key.
C#✓ Tested
Dispatch values with wildcard patterns
PowerShell: Switch -Wildcard interprets shell-style matching patterns for each clause.
PowerShell✓ Tested
Expose a reusable filtered view
SQL: A view stores a query definition rather than a snapshot of its rows.
SQL✓ Tested
Expose a reusable filtered view
SQL Server: A view stores a query definition rather than a snapshot of its rows.
SQL Server✓ Tested
Expose a reusable filtered view
Postgres: A view stores a query definition rather than a snapshot of its rows.
Postgres✓ Tested
Expose a reusable filtered view
SQLite: A view stores a query definition rather than a snapshot of its rows.
SQLite✓ Tested
Extract reusable toggle behavior
Extract reusable toggle behavior with a small React component and explicit browser behavior.
React✓ Tested
Forward input props to a reusable field
Forward input props to a reusable field with a small React component and explicit browser behavior.
React✓ Tested
Give a reusable record type a short name
C: A typedef names a structure type without changing its representation.
C✓ Tested
Nest a reusable component
Nest a reusable component with a small React component and explicit browser behavior.
React✓ Tested
Project content into a reusable component
Project content into a reusable component with a standalone Angular component and explicit browser behavior.
Angular✓ Tested
Add depth with a box shadow
CSS: Box shadows are painted outside the box without reserving additional layout space.
CSS✓ Tested