livechat / angular-livechat

⚠️ DEPRECATED ⚠️ Package no longer supported. Please use @livechat/widget-angular instead.
MIT License
25 stars 19 forks source link

I can't set an hidden status in this directive #23

Closed romelgomez closed 5 years ago

romelgomez commented 5 years ago

I can't hide and show the chat.

Use case: When I open a dialog component in mobile the chat take big part of the view.

<livechat-widget [hidden]="true" licenseId=""></livechat-widget>

This directive place code outside of Angular scope control, so for this simple attr or even *ngIf don't work as is expected.

MichalPaszowski commented 5 years ago

Hi,

We apologise that you had to wait so long for a response. We have prepared a new version of our library. This repository has been updated and the library can be found on NPM https://www.npmjs.com/package/@livechat/angular-widget.

Please give it a try and if necessary open new issue.