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

https://github.com/bycodexp/easyjs


https://github.com/bycodexp/easyjs

javascript

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# EasyJs - it's lightweight javascript library.
>>>>>this is draft version
## Structure

For begin you need create main app class Easy.

Example:
```html





@->someField



Array



@this



Frameworks




@->title
@->release






const App = new Easy({
someField: "hello world",
array: ['🍉', '🍋' , '🍎'],
frameworks: [
{
title: 'Angualar',
release: '2010-10-20'
},
{
title: 'Vue',
release: '2014-02-01'
},
{
title: 'React',
release: '2013-05-29'
},
]
});

```

## Reactivity

### bind

Use attribute `bind` in yours `input`. Inside attribute, - pass the name to the variable.

Attribute `bind` - works in two ways.

```html



@searchQuery

const App = new Easy({
searchQuery: ""
});

```