* @package host * @link https://www.zentao.net */ namespace zin; h::script('var jQuery = $;'); h::importCss($app->getWebRoot() . 'theme/zui/treemap/min.css'); h::importJs($app->getWebRoot() . 'js/zui/treemap/min.js'); $config->host->featureBar[$type]['active'] = true; featureBar(set::items($config->host->featureBar)); treemap ( setClass('canvas'), set::data($treemap), set::onNodeClick(jsRaw('(node) => window.onTreemapNodeClick(node)')) );