FIND YOUR NEXT FEW LINES

Results for “one-off”

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

621 snippets foundClear filters
ReactAccessibility & events

Describe an informative image

Describe an informative image with a small React component and explicit browser behavior.

React✓ Tested
AngularReactive forms

Disable a control through its model

Disable a control through its model with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
Docker / ComposeCompose service options

Disable a service’s network interfaces

Docker / Compose: network_mode none leaves only the loopback interface.

Docker / Compose✓ Tested
ReactAsync work & status

Disable an action while it is pending

Disable an action while it is pending with a small React component and explicit browser behavior.

React✓ Tested
ReactGetting Started

Disable an unavailable action

Disable an unavailable action with a small React component and explicit browser behavior.

React✓ Tested
jQueryAnimation completion

Disable animations for a reduced-motion mode

jQuery: The global fx.off switch causes effects to finish immediately.

jQuery✓ Tested
AngularPipes & formatting

Display a bounded slice of a list

Display a bounded slice of a list with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
ReactGetting Started

Display a JavaScript value in JSX

Display a JavaScript value in JSX with a small React component and explicit browser behavior.

React✓ Tested
ReactLists & filtering

Display a slice of paginated data

Display a slice of paginated data with a small React component and explicit browser behavior.

React✓ Tested
AngularReactive forms

Display a specific reactive validation error

Display a specific reactive validation error with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
ReactAsync work & status

Display the result of an asynchronous action

Display the result of an asynchronous action with a small React component and explicit browser behavior.

React✓ Tested
AngularAccessibility & reusable patterns

Display untrusted-looking text without HTML execution

Display untrusted-looking text without HTML execution with a standalone Angular component and explicit browser behavior.

Angular✓ Tested