src/app/spreadsheet/spreadsheet-views/views/spreadsheet/spreadsheet-view.component.ts
changeDetection | ChangeDetectionStrategy.OnPush |
encapsulation | ViewEncapsulation.None |
selector | spreadsheet-view |
styleUrls | ./spreadsheet-view.component.scss |
templateUrl | ./spreadsheet-view.component.html |
import { Component, ViewEncapsulation, ChangeDetectionStrategy } from "@angular/core"
@Component({
selector: 'spreadsheet-view',
templateUrl: './spreadsheet-view.component.html',
styleUrls: ['./spreadsheet-view.component.scss'],
encapsulation: ViewEncapsulation.None,
changeDetection: ChangeDetectionStrategy.OnPush
})
export class SpreadsheetViewComponent {}
<section>
<spreadsheet></spreadsheet>
</section>
./spreadsheet-view.component.scss