New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flourish/header

Package Overview
Dependencies
Maintainers
9
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/header - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

header.js

@@ -12,4 +12,4 @@ (function (global, factory) {

var HEADER_DEFAULTS = {
header_title: "German Elections 2017",
header_subtitle: "A closer look at the polling data",
header_title: "",
header_subtitle: "",
header_color: "#333333",

@@ -16,0 +16,0 @@ header_align: "left",

{
"name": "@flourish/header",
"version": "0.1.3",
"version": "0.1.4",
"description": "Adds header",

@@ -5,0 +5,0 @@ "main": "header.js",

@@ -1,1 +0,19 @@

README.md
# Flourish footer
Let's you add a header to your visualisations.
## Install
`npm install @flourish/header`
## Usage
There are 3 functions
`createHeader(target_el, state)` appends a div in the target element, and adds header state properties
`updateHeader()` updates the footer contents and styles
`getHeaderHeight()` returns the total footer height (including margins)
`header_el` is the header node element

@@ -11,2 +11,2 @@ import nodeResolve from "rollup-plugin-node-resolve";

]
};
};

@@ -5,4 +5,4 @@ var state;

var HEADER_DEFAULTS = {
header_title: "German Elections 2017",
header_subtitle: "A closer look at the polling data",
header_title: "",
header_subtitle: "",
header_color: "#333333",

@@ -9,0 +9,0 @@ header_align: "left",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc