https://github.com/bycodexp/easyjs
https://github.com/bycodexp/easyjs
javascript
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bycodexp/easyjs
- Owner: byCodeXp
- License: mit
- Created: 2021-06-02T20:44:04.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-06T23:37:45.000Z (about 5 years ago)
- Last Synced: 2025-01-23T11:43:34.309Z (over 1 year ago)
- Topics: javascript
- Language: JavaScript
- Homepage:
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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: ""
});
```