【文件属性】:
文件名称:photos:照片查看应用程序的UI。 不包含后端协议
文件大小:117KB
文件格式:ZIP
更新时间:2021-03-14 11:42:51
JavaScript
相片
照片查看应用程序的UI。 不包括后端/协议。
安装
npm i @nichoth/photos
例子
var photos = require ( '@nichoth/photos' )
import { render } from 'preact'
var { bus , setRoute , html } = photos ( )
bus . on ( '*' , ( eventName , data ) => {
console . log ( '*' , eventName , data )
} )
render ( html , document . getElementById ( 'content' ) )
大事记
var evs = require ( '@nichoth/events/namespace' ) ( {
test : [ 'foo' ]
【文件预览】:
photos-main
----package.json(2KB)
----EVENTS.js(336B)
----package-lock.json(447KB)
----example.js(356B)
----src()
--------style()
--------index.js(1KB)
--------shell.js(2KB)
--------routes()
--------state.js(364B)
----.gitignore(2KB)
----public()
--------index.html(318B)
----README.md(699B)