mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
26 lines
702 B
TypeScript
26 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{}
|