Open pachu4u opened 4 years ago
Hi,
I am stuck with this strange issue.
This DOES NOT WORK
<fb-page [href]="data.facebook_url" tabs="timeline" > I am sure the variable has the valid url of facebook
However hardcoding the href works
Thanks. Appreciate your help in this regard
attaching console logs
@pachu4u I had the same issue. My workaround has been to add the href attribute to tag when my component was stable and before running this script: FB.XFBML.parse();
FB.XFBML.parse();
<fb-page [attr.href]="data.facebook_url" tabs="timeline"> should work.
<fb-page [attr.href]="data.facebook_url" tabs="timeline">
Hi,
I am stuck with this strange issue.
This DOES NOT WORK
<fb-page [href]="data.facebook_url" tabs="timeline" > I am sure the variable has the valid url of facebook
However hardcoding the href works
Thanks. Appreciate your help in this regard