0.0.1 • Published 3 years ago

tinway v0.0.1

Weekly downloads
4
License
ISC
Repository
github
Last release
3 years ago

tinway JavaScript

A JavaScript library for building user interfaces

install

npm
npm i tinway
yarn
yarn add tinway
download JavaScript
https://tinway.github.io/tinway/tinway.js

add script to html

<script type="module" src="app.js"></script>

edit the file app.js

import {run,getData as get,setData as set} from './tinway.js'
or
import {run,getData as get,setData as set} from 'tinway'
Example
import {run,getData as get,setData as set} from 'tinway'

let container = {
    module: {get,set},
    attributes: {
        class:'container',
        style:'background: #f5f5f5'
    },
    dataName:'index',
    setData:{title:'Page index'},
    view:'view/index',
    js:'js/index'
}

run(container)
0.0.1

3 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago