0.3.13 • Published 4 years ago

minichart-grid v0.3.13

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
4 years ago

minichart-grid

An embeddable online tool that allows to track all the Binance futures markets on one page

The online tool itself can be found at letiliel.github.io/minichart-grid.

image

API

The simplest way is to embed it via global variable minichartGrid.

<!DOCTYPE html>
<html>
<head>
    <!-- The tool originally uses a dark bootstrap theme, but you can replace it by the regulatstrap CSS -->
    <link rel="stylesheet" href="https://letiliel.github.io/minichart-grid/bootstrap-bootswatch-darkly.min.css">
    <link rel="stylesheet" href="https://letiliel.github.io/minichart-grid/style.css">
</head>
<body>
    <div id="root" class="m-4"></div>
    <script src="https://letiliel.github.io/minichart-grid/minichartGrid.js"></script>
    <script> minichartGrid('#root'); </script> 
</body>
</html>

The function also accepts options as second argument. By the time being the only option is onSymbolSelect handler that is called when user clicks symbol name.

minichartGrid('#root', {
    onSymbolSelect: (symbol) => console.log(symbol),
});

It can also be installed via NPM to be imported as a module.

npm i minichart-grid

import minichartGrid from 'minichart-grid';

// ...
0.3.8

4 years ago

0.3.7

4 years ago

0.3.9

4 years ago

0.3.13

4 years ago

0.3.12

4 years ago

0.3.11

4 years ago

0.3.10

4 years ago

0.3.0

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.2.16

4 years ago

0.2.15

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.10

4 years ago

0.2.9

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.8

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.4

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.21

4 years ago

0.1.0

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.15

4 years ago

0.0.16

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.14

4 years ago

0.0.13

4 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.1

4 years ago