Skip to content

Instantly share code, notes, and snippets.

@DaveVoyles
Created February 16, 2016 13:16
Show Gist options
  • Save DaveVoyles/1d31486d6aa785de7e6d to your computer and use it in GitHub Desktop.
Save DaveVoyles/1d31486d6aa785de7e6d to your computer and use it in GitHub Desktop.
private setInfoboxContent (name: string, city: string, spec: string, bio: string, twitter: string, websiteUrl: string, img: string) : any
{
this.defaultInfobox.setHtmlContent(
'<div class="bio-container">' +
'<h1 id="firstHeading" class="firstHeading">' + name + '</h1>' +
'<h3>' + city + '</h3>' +
'<h3>' + spec + '</h3>' +
'<div id="bodyContent">' +
bio +
'</div> <!-- .bodyContent-->' +
'<p>' +
'<a href=' + twitter + '/>' + twitter +
'<p>' +
'<a href="' + websiteUrl + '"/>' + websiteUrl +
'</div> <!-- Bio Container -->' +
'<img src=' + img + ' class = "evangelist-img">' +
'</div><!-- .bio-container -->'
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment