File

src/app/forms/editor/editor.component.ts

Implements

OnInit

Metadata

selector app-editor
styleUrls ./editor.component.scss
templateUrl ./editor.component.html

Index

Methods

Constructor

constructor()

Methods

ngOnInit
ngOnInit()
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;
}
Legend
Html element
Component
Html element with directive

result-matching ""

    No results matching ""