FIND YOUR NEXT FEW LINES

Results for “template”

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

132 snippets foundClear filters
AngularTemplate-driven forms

Validate email syntax with Angular’s email validator

Validate email syntax with Angular’s email validator with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
PowerShellStrings & literal text

Write a multiline string without expanding variables

PowerShell: A single-quoted here-string preserves dollar signs literally.

PowerShell✓ Tested
AngularAccessibility & reusable patterns

Announce a status update with a live region

Announce a status update with a live region with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularReactive forms

Append a dynamic form control

Append a dynamic form control with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularSignals & state

Append to an array signal immutably

Append to an array signal immutably with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularAccessibility & reusable patterns

Associate a validation message with a field

Associate a validation message with a field with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularReactive forms

Attach validators to a FormControl

Attach validators to a FormControl with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Bind a checkbox with ngModel

Bind a checkbox with ngModel with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularLists & control flow

Bind a narrowed value using an @if alias

Bind a narrowed value using an @if alias with a standalone Angular component and explicit browser behavior.

Angular✓ Tested
AngularGetting Started

Bind a numeric style with units

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

Angular✓ Tested
AngularGetting Started

Bind a select element

Bind a select element 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