FIND YOUR NEXT FEW LINES

Results for “one-off”

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

621 snippets foundClear filters
AngularGetting Started

Bind a select element

Bind a select element with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularTemplates & bindings

Bind a style property

Bind a style property with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularTemplates & bindings

Bind a table-cell attribute

Bind a table-cell attribute with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Bind a text field in both directions

Bind a text field in both directions with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularReactive forms

Bind a typed nonnullable FormControl

Bind a typed nonnullable FormControl with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Bind an accessibility attribute

Bind an accessibility attribute with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Bind an element property

Bind an element property with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularTemplates & bindings

Bind an element’s title

Bind an element’s title with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularTemplates & bindings

Bind textContent without interpreting markup

Bind textContent without interpreting markup with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
C++Filesystem operations

Calculate a lexical relative path

C++: lexically_relative compares path components without requiring the paths to exist.

C++✓ Tested
CNumeric parsing & arithmetic

Calculate a page count without an overflowing addition

C: Divide first and add one only when a nonzero remainder remains.

C✓ Tested
AngularGetting Started

Calculate a value in a template

Calculate a value in a template with a standalone Angular component and explicit browser behavior.

Angular✓ Tested