You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey sir, thank you for the beatiful animation. I would like to add it to my chatbot written in Angular.
I added this code to ngOnInit():
this.siriWave = new SiriWave({
container: document.querySelector("#myWave"),
cover: true,
height: 100,
style: "ios9"
});
But somehow i am getting the error: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. Can you please help me out ?
The text was updated successfully, but these errors were encountered:
tungUAS
changed the title
angular/typescript
Integrated in angular/typescript
Jan 21, 2022
@tungUAS verify you did not place container inside an *ngIf block and replace it with a [hidden] in that cause. I was having the same issue and that solved it for me.
Give it a try.
hey sir, thank you for the beatiful animation. I would like to add it to my chatbot written in Angular.
I added this code to ngOnInit():
this.siriWave = new SiriWave({
container: document.querySelector("#myWave"),
cover: true,
height: 100,
style: "ios9"
});
But somehow i am getting the error: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'. Can you please help me out ?
The text was updated successfully, but these errors were encountered: