https://github.com/mxz96102/asap-components
https://github.com/mxz96102/asap-components
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mxz96102/asap-components
- Owner: mxz96102
- Created: 2022-01-04T07:32:03.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-13T09:05:04.000Z (over 3 years ago)
- Last Synced: 2025-02-26T00:03:59.941Z (5 months ago)
- Language: JavaScript
- Size: 233 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ASAP Components
> Actually we need these components asap, I want it in an old easy way, no more packages and bundle problem. It's depended on Autonomous custom elements, for using component without any framework.
## How to use
> Using it in an old fashion way, using script tag and write html.
```html
ASAP COMPONENT
asap-time {
color: #484bff;
font-family: monospace;
font-weight: bold;
font-size: 20px;
}
```
And this asap-time result in:

## Components
So let's see what do we got here:
### Time
``
|arttribute|required|default|description|
|----|----|----|----|
|time|x|new Date()|time that should render, using time string or timestamp|
|format|x|'YYYY-MM-DD HH:mm:ss'|format that time display, using moment/dayjs format string|