DEV Community

Rajasekar Thangavel
Rajasekar Thangavel

Posted on

Code Snippets

Remove default styles in angular

import { Component, ViewEncapsulation } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';

@Component({
  selector: 'app-expression-dialog',
  templateUrl: './expression-dialog.component.html',
  styleUrls: ['./expression-dialog.component.scss'],
  encapsulation: ViewEncapsulation.None,
})
export class ExpressionDialogComponent {
  constructor(public dialog: MatDialog) {}
}

Enter fullscreen mode Exit fullscreen mode


`

Top comments (0)