UNPKG

ngx-html-bridge

Version:

An Angular Template Parser to convert Angular templates into an array of standard, static HTML strings.

12 lines (11 loc) 137 B
@switch (caseValue) { @case (1) { <p>Case 1</p> } @case (2) { <p>Case 2</p> } @default { <p>Default case</p> } }