zz-chart
Advanced tools
Comparing version 0.1.0-beta.34 to 0.1.0-beta.35
@@ -120,4 +120,7 @@ import { StyleSheet, css } from 'aphrodite/no-important.js'; | ||
const itemValue = itemFormatter(items); | ||
if (isString(itemValue)) { | ||
return itemValue; | ||
} | ||
if (isElement(itemValue)) { | ||
return itemFormatter(items); | ||
return itemValue.innerHTML; | ||
} | ||
@@ -158,3 +161,3 @@ if (isArray(itemValue)) { | ||
placement(this.container, anchor, 'right', 'center', { | ||
bound: document.querySelector('body'), | ||
bound: document, | ||
}); | ||
@@ -161,0 +164,0 @@ this.createItem(title, values); |
{ | ||
"name": "zz-chart", | ||
"version": "0.1.0-beta.34", | ||
"version": "0.1.0-beta.35", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "author": "Alauda", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
519905
13633