_this.core.items[event.detail.index].getAttribute is not a function when using dynamicEl
syl20lego opened this issue · comments
Sylvain Legault commented
Hi,
I tried using this pluging with dynamicEl JSON data, but it fails since in that case _this.core.items contains the JSON representation of the dynamicEL and not a HTML element, therefore I'm getting
"_this.core.items[event.detail.index].getAttribute is not a function"
In case of dynamicEl, the JSON should probably include the different shared URL {
data-googleplus-share-url: "...", data-facebook-share-url: "..."} etc.
Sylvain Legault commented
Thank you, I really like your library