I got gravitar url to work as arc for image tag. Gravitate image displays.  
What I am unsure about is if I did it properly.  I read you aren’t supposed to 
manipulate the don directly.   I am not sure if I’m doing that since I’m 
forming the url in a template but it does manipulate the DOM in the sense it 
supplies the url attribute for arc for image tag.

Ngonit(){

This.user_email  = dataservice;
This.gravatarURL= “https:www.gravatar.com/avatar”
This.hash = md5.hashStr(this.user_email)
This.imgPath = ‘${this.gravatarURL}${this.hash}?s=20’
}
I am using the backticks. 
Do I have to encodeURI also? It seems to work without it. 
But my main question is this directly manipulating the arc attribute of the 
image tag in the DOM.  And do I need a elementref and referrer?  Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to