bottom-tip
v0.1.5
Published
A div for displaying console.log messages, with some styles
Downloads
96
Readme
Bottom Tip(an at-bottom message tip)
Note: you have to maintain logs manually with this module.
Prototype https://youtu.be/wjLxXS0CV4k
I intented to replace webpack-hud with it but it turned out to be not as useful as webpack-hud since messages from Webpack is quite messy.
Usage
npm i --save-dev bottom-tip
import render from "bottom-tip";
render("warn", "some warning message");
setTimeout(function() {
render("inactive", null);
}, 2000);
Types:
inactive
ok
ok~
(show and then hide)warn
error
Develop
Try this project:
yarn vite
# open http://localhost:3000
License
MIT