Closed riwos closed 5 years ago
Hey hey, thanks for the thinking!
First, opinion, refrain from using the keyword “extend”. It’s very much a word related to inheritance. Beyond that, tough to explain.
Second, I think we should instead, should create a new directive of ngfSrc.
What do you know about pull requests? Can you do it for this need of yours?
Hi, Thanks for reply and for your language advice as well ;)
I can create very similar directive like above but only for src attribute and then make a pull request. I will do that and then you will decide about approve or reject changes :P
Agreed ??
Yeah, agreed, sounds extra good. Good to be working together.
@AckerApple thank you for your support and you have released a new version ;) Job done ;)
What do you think to extend
ngfBackground
to apply data from input to "src" attribute if tag html is "IMG" ??I've extended the sources to add one condition on
ngfBackground
directive.