Semantic-ui ver.2.0.8.我目前使用以下方法在弹出窗口中加载动态内容
JAVASCRIPT
var popupContent = null;
var popupLoading = '<i class="notched circle loading icon green"></i> wait...';
$('.vt').popup({
inline: true,
on: 'hover',
exclusive: true,
hoverable: true,
html: popupLoading,
variation: 'wide',
delay: {
show: 400,
hide: 400
},
onShow: function(el) { // load data (it could be called in an external function.)
var then = function(r) {
if (r.status) {
popupContent = r.data; // html string
} else {
// error
}
};
var data = {
id: el.dataset.id
};
ajax.data('http://example.site', …Run Code Online (Sandbox Code Playgroud) when I click a column or label the xAxis write incorrect label but tooltip its ok.
Where's the problem?
Run Code Online (Sandbox Code Playgroud)