Fixing issue #166: cant update the socialshareText attr on whatsapp#174
Fixing issue #166: cant update the socialshareText attr on whatsapp#174jherencia wants to merge 1 commit into720kb:masterfrom
Conversation
|
@jherencia Hi, sorry for the delay, i checked the PR but it seems to me that it should work here https://github.com/mrmilu/angular-socialshare/blob/f554baa12ffd59eece190c1c8d0d68d48fad1dcf/dist/angular-socialshare.js#L1061 So i actually don't understand why binding again inside the method itself... shouldn't be better to check what's happening at that file line? |
|
Hey so I think @jherencia is on the right track, let me explain what's going on: so for whatsapp, we use a normal link Anyways, the right idea is to update the href when one of the attributes used to construct the angular.forEach(attrs. attrsToWatch, function(attr) {
attrs.$observe(attr, onEventTriggered);
}); |
|
@mebibou that is a cool idea! btw would you try something for that? i'll be absolutely glad to merge it something like |
|
@45kb well not an attribute of the DOM element since it is specific to each provider |
|
@mebibou you have the provider from |
No description provided.