Skip to content

Commit

Permalink
remove imports and styles empty
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasferreiralimax committed Aug 23, 2024
1 parent 4001aa1 commit 36b3291
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ import { Component } from '@angular/core';
@Component({
selector: 'angular-vlibras',
standalone: true,
imports: [],
templateUrl: 'angular-vlibras.component.html',
styles: ``
})

export class AngularVlibras {
src: string = 'https://vlibras.gov.br/app/vlibras-plugin.js';
urlWidget: string = 'https://vlibras.gov.br/app';
Expand All @@ -26,7 +25,6 @@ export class AngularVlibras {

public createWidget(): void {
this.script?.removeEventListener('load', () => this.createWidget());
// eslint-disable-next-line
new (window as any).VLibras.Widget(this.urlWidget);
this.observeDOMChanges();
}
Expand Down

0 comments on commit 36b3291

Please sign in to comment.