styleUrls property

List<String> styleUrls
final

A list of URLs of external CSS/SCSS stylesheets to apply to this component.

Styles are scoped to this component based on the encapsulation strategy.

Example

@Component(
  selector: 'my-comp',
  template: '<h1>Styled</h1>',
  styleUrls: ['my_comp.scss'],
)
class MyComponent {}

Implementation

final List<String> styleUrls;