@lion/tooltip
Advanced tools
Comparing version 0.10.0 to 0.10.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [0.10.1](https://github.com/ing-bank/lion/compare/@lion/tooltip@0.10.0...@lion/tooltip@0.10.1) (2020-05-18) | ||
### Bug Fixes | ||
* tooltip storybook demo fix ([e84dac2](https://github.com/ing-bank/lion/commit/e84dac2a48c0a4dadf87b08f3ec5d252598b8868)) | ||
# [0.10.0](https://github.com/ing-bank/lion/compare/@lion/tooltip@0.9.0...@lion/tooltip@0.10.0) (2020-05-18) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@lion/tooltip", | ||
"version": "0.10.0", | ||
"version": "0.10.1", | ||
"description": "Show relative overlay content on hover", | ||
@@ -44,3 +44,3 @@ "author": "ing-bank", | ||
}, | ||
"gitHead": "f9ce60c08cf0c608f5f3a9ef9937c536f7782c11" | ||
"gitHead": "5668fbe13c75ba0172e40d24861b000be43fd875" | ||
} |
import { css, html, LitElement } from '@lion/core'; | ||
import { OverlayMixin } from '@lion/overlays'; | ||
/** | ||
* @customElement lion-tooltip | ||
*/ | ||
export class LionTooltip extends OverlayMixin(LitElement) { | ||
@@ -76,3 +79,5 @@ static get properties() { | ||
connectedCallback() { | ||
super.connectedCallback(); | ||
if (super.connectedCallback) { | ||
super.connectedCallback(); | ||
} | ||
this._overlayContentNode.setAttribute('role', 'tooltip'); | ||
@@ -79,0 +84,0 @@ } |
Sorry, the diff of this file is not supported yet
51546
417