FIND YOUR NEXT FEW LINES

Results for “computed”

Small, practical examples. Search by task or narrow things down below.

136 snippets foundClear filters
AngularSignals & state

Derive a filtered list with computed

Derive a filtered list with computed with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Derive a value with computed

Derive a value with computed with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularSignals & state

Track only dependencies used by a computed branch

Track only dependencies used by a computed branch with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
PowerShellHashtables & object records

Add a calculated property during selection

PowerShell: A calculated property can derive a value while retaining selected original properties.

PowerShell✓ Tested
AngularServices & dependency injection

Derive totals inside a shared service

Derive totals inside a shared service with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
CSSResponsive conditions & sizing

Adapt a component to its own container width

CSS: Container queries respond to a selected ancestor rather than the full viewport.

CSS✓ Tested
CSSResponsive conditions & sizing

Adapt a layout to viewport orientation

CSS: The orientation query compares viewport dimensions rather than detecting a physical device type.

CSS✓ Tested
CSSResponsive conditions & sizing

Add a clear boundary in forced-colors mode

CSS: Use a system color for a border when the user’s forced-color mode is active.

CSS✓ Tested
CSSVisual treatment & accessibility

Add depth with a box shadow

CSS: Box shadows are painted outside the box without reserving additional layout space.

CSS✓ Tested
CSSBox dimensions & overflow

Add inner spacing to a content-sized box

CSS: In content-box sizing, padding adds to the declared content width.

CSS✓ Tested
CSSGetting Started

Add space inside a border

CSS: Learn how to add space inside a border in a complete browser example.

CSS✓ Tested
CSSGetting Started

Add space outside an element

CSS: Learn how to add space outside an element in a complete browser example.

CSS✓ Tested