-
Notifications
You must be signed in to change notification settings - Fork 41
Conversation
detachdCallback: {value: detached} | ||
} | ||
) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing semicolon.
init(); | ||
|
||
tooltipText.text(function(){ | ||
return self.attr('desc'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'self' is not defined.
The tooltips aren't working in Ffx. Pulled that out into the existing Ffx bug issue because it might be the same thing. #1748 . |
@gemfarmer this may not work in browsers that don't support Custom Elements v0 natively (basically, everyone except Chrome) because the polyfill we're using doesn't support type extension for SVG elements. 😠 |
@shawnbot @ericronne @meiqimichelle now works on 🔥 🐺 |
Also, the hound warnings are old. The grievances it is voicing are not real. As far as I can tell, at least |
😄 I will review once Federalist builds! 🎉 |
Fixes issue(s) #1520
😎 PREVIEW
Changes proposed in this pull request:
eiti-tooltip
component to be used in conjunction with the<title>
elementeiti-tooltip
can be used like so:<title is="eiti-tooltip">
and supportsdesc
andalt
attributes.desc
: text to be displayedalt
: applied to thearia-label
attribute on the tooltipEnhancement possibility: make tooltips clickable. Add
href
attribute support/cc @shawnbot @ericronne