mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
863c7eaafe
Migrate the vscode extension for angular into this repository. PR Close #63924
27 lines
702 B
TypeScript
27 lines
702 B
TypeScript
/* clang-format off */
|
|
|
|
@Component({
|
|
//// Property key/value test
|
|
styles: [ '.example { width: 100px; }' ],
|
|
|
|
//// Multiple styles test
|
|
styles: [
|
|
'.example { width: 100px; }',
|
|
'.example { height: 100px; }',
|
|
],
|
|
|
|
//// String delimiter tests
|
|
styles: [ `.example { width: 100px; }` ],
|
|
styles: [ ".example { width: 100px; }" ],
|
|
styles: [ '.example { width: 100px; }' ],
|
|
|
|
//// Parenthesization tests
|
|
styles: ( (( [ ( '.example { width: 100px; }' ) ] )) ),
|
|
//// styles string
|
|
styles: ( (( ( '.example { width: 100px; }' ) )) ),
|
|
styles: `.example { width: 100px; }` ,
|
|
styles: ".example { width: 100px; }" ,
|
|
styles: '.example { width: 100px; }' ,
|
|
})
|
|
export class TMComponent{}
|