paper-badge
paper-badge copied to clipboard
paper-badge with a standalone variant
Description
We are building a small POC and wanted to use paper-badge as a standalone entity not positioning itself as per any target of parent element. However, if I remove the "for" attribute it takes the parentElement and aligns to top-right, which again can be solved by overwriting the logic for updatePosition().
The badges, are coming overlapped on top of each other if same parent has more than one badge
Was looking for a way to use badges as standalone components.
Steps to reproduce
Add multiple badges without specifying the for attribute. Overwrite the current paper-badge updatePostion to code to assign potion only when for is specified by the integrating page