You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The paper-tooltip can only target one element by it's ID or his own parent element. In some cases it may be usefull to target elements by their class, so only one tooltip element is needed for many (possibly dynamically added) elements (e.g. header cells of a grid, list entries).
If the class target is only the fallback resolution for the for property, their is no braking change in the API.
Expected outcome
If no element can be found by the ID specified in the for property the tooltip searches for elements by class with the name specified in for and binds to all of them.
Description
The paper-tooltip can only target one element by it's ID or his own parent element. In some cases it may be usefull to target elements by their class, so only one tooltip element is needed for many (possibly dynamically added) elements (e.g. header cells of a grid, list entries).
If the class target is only the fallback resolution for the
for
property, their is no braking change in the API.Expected outcome
If no element can be found by the ID specified in the
for
property the tooltip searches for elements by class with the name specified infor
and binds to all of them.Live Demo
Here you can find a small demo of the feature.
The text was updated successfully, but these errors were encountered: