文件名称:led-canvas-led:https 使用的示例 LED 类
文件大小:12KB
文件格式:ZIP
更新时间:2024-07-29 11:53:09
JavaScript
led-canvas-led 使用的示例 LED 类。 例子 var Led = require ( 'led-canvas-led' ) ; /** * Creates an instance of led-canvas-led with coordinates { x: 1, y: 1 } * and a size of 10 and with * @type {Led} */ var led = new Led ( 1 , 1 , 10 ) 最小的界面 Led.constructor /** * Construct a new instance of Led * @param {Integer} x - x coordinate of the new Led * @param {Integer} y - y coordinate of the new Led
【文件预览】:
led-canvas-led-master
----.travis.yml(508B)
----.jscsrc(2KB)
----package.json(1KB)
----test()
--------test-led.js(4KB)
--------test-styles.js(1KB)
--------test-state.js(715B)
--------.jshintrc(72B)
--------test-store.js(2KB)
----.jsfmtrc(10KB)
----LICENSE(1KB)
----src()
--------index.js(3KB)
--------state.js(239B)
--------store.js(527B)
--------styles.js(297B)
----.npmignore(112B)
----.coveralls.yml(24B)
----.gitignore(615B)
----README.md(2KB)
----.jshintrc(502B)
----nodemon.json(44B)
----.editorconfig(204B)