【文件属性】:
文件名称:vhs-tape:tape用于测试前端组件的磁带扩展
文件大小:203KB
文件格式:ZIP
更新时间:2021-03-10 20:14:28
JavaScript
录像带
用于测试前端组件的扩展。
用法
编写测试
const vhs = require ( 'vhs-tape' )
const MorphComponent = require ( 'hui/morph' )
const html = require ( 'hui/html' )
class Example extends MorphComponent {
constructor ( loadMsg ) {
super ( )
this . _loadMsg = loadMsg
this . _msg = 'Hello, not mounted yet'
this . _count = 0
this . onclick = this . onclick . bind ( this )
}
createElement ( ) {
【文件预览】:
vhs-tape-master
----.gitignore(13B)
----package.json(1KB)
----.travis.yml(2KB)
----LICENSE(1KB)
----index.js(6KB)
----README.md(9KB)
----example.js(2KB)
----logo.png(196KB)
----VHS-TAPE.sketch(133B)
----.npmignore(27B)
----.gitattributes(45B)
----bin.js(2KB)
----components.js(1KB)