{"action":"created","issue":{"url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/299","repository_url":"https://api.github.com/repos/tjoskar/ng-lazyload-image","labels_url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/299/comments","events_url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/299/events","html_url":"https://github.com/tjoskar/ng-lazyload-image/issues/299","id":291364874,"number":299,"title":"Image is not Changed after event triggered","user":{"login":"NadaAmr","id":13611753,"avatar_url":"https://avatars1.githubusercontent.com/u/13611753?v=4","gravatar_id":"","url":"https://api.github.com/users/NadaAmr","html_url":"https://github.com/NadaAmr","followers_url":"https://api.github.com/users/NadaAmr/followers","following_url":"https://api.github.com/users/NadaAmr/following{/other_user}","gists_url":"https://api.github.com/users/NadaAmr/gists{/gist_id}","starred_url":"https://api.github.com/users/NadaAmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NadaAmr/subscriptions","organizations_url":"https://api.github.com/users/NadaAmr/orgs","repos_url":"https://api.github.com/users/NadaAmr/repos","events_url":"https://api.github.com/users/NadaAmr/events{/privacy}","received_events_url":"https://api.github.com/users/NadaAmr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-24T21:24:37Z","updated_at":"2018-02-03T14:58:11Z","closed_at":null,"author_association":"NONE","body":"the src of image is not changed when a mouse event is triggered. \r\nThe variable which is bind to [lazyLoad] is changed with new image path but it seems that the view doesn't detect that there was a change, the src is still with old value.\r\n\r\n**Html**\r\n<img [lazyLoad]=\"img\" (mouseenter)=\"changeimage()\">\r\n\r\n**Within Component** \r\nimg='image1'\r\nchangeimage(){\r\nimg='image2'\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/comments/362818314","html_url":"https://github.com/tjoskar/ng-lazyload-image/issues/299#issuecomment-362818314","issue_url":"https://api.github.com/repos/tjoskar/ng-lazyload-image/issues/299","id":362818314,"user":{"login":"tjoskar","id":1525612,"avatar_url":"https://avatars2.githubusercontent.com/u/1525612?v=4","gravatar_id":"","url":"https://api.github.com/users/tjoskar","html_url":"https://github.com/tjoskar","followers_url":"https://api.github.com/users/tjoskar/followers","following_url":"https://api.github.com/users/tjoskar/following{/other_user}","gists_url":"https://api.github.com/users/tjoskar/gists{/gist_id}","starred_url":"https://api.github.com/users/tjoskar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjoskar/subscriptions","organizations_url":"https://api.github.com/users/tjoskar/orgs","repos_url":"https://api.github.com/users/tjoskar/repos","events_url":"https://api.github.com/users/tjoskar/events{/privacy}","received_events_url":"https://api.github.com/users/tjoskar/received_events","type":"User","site_admin":false},"created_at":"2018-02-03T14:58:11Z","updated_at":"2018-02-03T14:58:11Z","author_association":"OWNER","body":"> after using [useSrcset] , the issue was fixed and image changed\r\n\r\nAre you using [`srcset`](https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/)? If not; it sounds like a bug. Can you update your stackblitz to reproduce the problem? \r\n\r\n> now the image is not shown at IE\r\n\r\n[IE do not support `srcset`](https://caniuse.com/#feat=srcset), so you can't use it in IE.\r\n"}}
{"actor":{"display_login":"tjoskar"}}