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

https://github.com/a-x-/select-source

[IDEA] Implement parsing declaration source data resource for select html element syntax
https://github.com/a-x-/select-source

Last synced: 3 months ago
JSON representation

[IDEA] Implement parsing declaration source data resource for select html element syntax

Awesome Lists containing this project

README

        

select-source
=============

Implement parsing declaration source data resource for select html element syntax

# The Idea

HTML:
```html

...

```

`GET /car-types.json`:
```json
{
"audi": { "content":"Audi" },
"vw": { "content":"Volkswagen" },
"mercedes": { "content":"Mercedes" },
"delorian": { "content": "DeLorean DMC-12" }
}
```

Rendered HTML:
```html
<select src="<url>" name="car-type" >
<option value="audi">Audi</option>
<option value="vw">Volkswagen</option>
<option value="mercedes">Mercedes</option>
<option value="delorian">DeLorean DMC-12</option>
</select>
...
<script src="/select-source.js">
```

# Usage

# Status

This is under active development stage **(not production ready)**.

| **Idea** | Alpha | Beta | RC | Production |
|:--------:|:-----:|:----:|:--:|:----------:|
| **Ok** | — | — | — | — |

# Demo

# License

All under MIT license.

# Contribution

You're welcome!
I watch github issues and mailbox ([email protected]).

English typo-fixes are welcome too.