aboutsummaryrefslogtreecommitdiff
path: root/notif
AgeCommit message (Collapse)Author
2024-09-15all: commit all generate JavaScript filesShulhan
This is to simplify development on third party where they can clone and include the file directly without installing or running anything to build the files.
2024-09-15notif: update example message for notificationShulhan
2023-10-24all: fix all linter warnings from tsc and eslintShulhan
In this changes we introduce eslint as our linter for TypeScript and update our tsconfig to be more strict. The ".eslintrc.yaml" and "tsconfig.json" is taken from golang/website repository [1]. [1]: https://cs.opensource.google/go/x/website
2023-10-24all: reformat all filesShulhan
I cannot remember how I reformat those files previously, probably without any tools. This changes reformat the TypeScript files using prettier and HTML files using js-beautify.
2022-03-15all: re-licensing wui under GPL 3.0 or laterShulhan
See https://kilabit.info/journal/2022/gpl/ for more information.
2021-09-11notif: set the notification z-index to 10000Shulhan
This fix the notification displayed below other element, while it should be on top.
2021-09-05notif: convert the example using TypeScript and load it with type="module"Shulhan
2021-08-29all: remove and ignore generate JavaScript filesShulhan
2021-08-29notif: make the notification position to fixedShulhan
This is to fix the notification hidden when the current document have scroll.
2021-08-28all: refactoring to follow the coding style in READMEShulhan
* Use snake_case for field, variable, HTML ID, and CSS class names. * Use camelCase for class, interface, type, function, or method names. * An exported type or class. interface, type, method, or function name MUST start with an upper-case letter. * An exported class, type, interface, or function MUST be prefixed with "Wui".
2021-08-28notif: implement component for notificationShulhan
The WuiNotif implement the HTML interface to display pop-up notification. The notification can be triggered by calling method Info() or Error(). Each pop-up has 5 seconds duration, after that they will be removed automatically.