@domoritz/vega-lite
Advanced tools
Comparing version 0.1.27 to 0.1.28
12
index.js
define(["vega-embed@3"], function(VegaEmbed) { | ||
var style = document.createElement("style") | ||
style.innerHTML = ".vega-embed .vega-actions > a { visibility: hidden; font-size: 0.9em; margin-right: 0.6em; } " + | ||
".vega-embed:hover .vega-actions > a { visibility: visible; }" | ||
document.getElementsByTagName("head")[0].appendChild(style) | ||
var ID = 'vega-lite-embed-style'; | ||
if (!document.getElementById(ID)) { | ||
var style = document.createElement("style") | ||
style.id = ID | ||
style.innerHTML = ".vega-embed .vega-actions > a { opacity: 0.2; font-size: 0.9em; margin-right: 0.6em; } " + | ||
".vega-embed:hover .vega-actions > a { opacity: 1; }" | ||
document.getElementsByTagName("head")[0].appendChild(style) | ||
} | ||
@@ -7,0 +11,0 @@ return function vegalite(spec, options) { |
{ | ||
"name": "@domoritz/vega-lite", | ||
"version": "0.1.27", | ||
"version": "0.1.28", | ||
"description": "A convenience method for using Vega-Lite.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1266
26