src/app/forms/editor/editor.component.ts
| selector | app-editor |
| styleUrls | ./editor.component.scss |
| templateUrl | ./editor.component.html |
Methods |
constructor()
|
|
Defined in src/app/forms/editor/editor.component.ts:8
|
| ngOnInit |
ngOnInit()
|
|
Defined in src/app/forms/editor/editor.component.ts:12
|
|
Returns :
void
|
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-editor',
templateUrl: './editor.component.html',
styleUrls: ['./editor.component.scss']
})
export class EditorComponent implements OnInit {
constructor() { }
ngOnInit() {
}
}
<mat-card>
<mat-card-title>Quill Editor</mat-card-title>
<mat-card-content>
<quill-editor></quill-editor>
</mat-card-content>
</mat-card>
./editor.component.scss
:host {
display: block;
}
mat-card {
margin: 20px;
}