Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mxz96102/asap-components


https://github.com/mxz96102/asap-components

Last synced: about 2 months ago
JSON representation

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:

![image](https://user-images.githubusercontent.com/15213473/148364741-73df1a11-9347-4944-9820-1d4c480c1083.png)

## 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|