0.3.13 • Published 2 years ago

minichart-grid v0.3.13

Weekly downloads
-
License
AGPL-3.0-or-later
Repository
github
Last release
2 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

2 years ago

0.3.7

3 years ago

0.3.9

2 years ago

0.3.13

2 years ago

0.3.12

2 years ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.0

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.13

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.9

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.8

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.4

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.0.21

3 years ago

0.1.0

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.15

3 years ago

0.0.16

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago