@pnp/generator-spfx
Version:
This Yeoman generator helps organisations to improve their development workflow with the SharePoint Framework. It extends the functionalities of the @microsoft/generator-sharepoint based on best pattern and practices. This generator extends the capabiliti
18 lines (13 loc) • 477 B
text/typescript
import { Component, Input, OnInit, ViewEncapsulation } from '@angular/core';
({
selector: 'app-<%= componentClassNameKebabCase %>',
templateUrl: './<%= componentClassNameKebabCase %>.component.html',
styleUrls: ['./<%= componentClassNameKebabCase %>.component.scss'],
encapsulation: ViewEncapsulation.Emulated
})
export class <%= componentClassName %>Component implements OnInit {
() description!: string;
constructor() { }
ngOnInit() {
}
}