开发者

A panel to configure JavaScript parameters on a website

I am looking for a library that would create a "settings panel" with configurable amount of sliders, checkboxes, etc and add it to a website. After a slider or checkbox is changed in the panel, a callback function would be executed.

Rationale: I am building a canvas demo and I don't want to spend time on writing my own set of controls for configurable paramet开发者_运维问答ers. I want to outsource this job to a small library that does it right.

I saw such thing few months ago but I cannot find it now.


Finnaly I found what I was talking about back then:

dat.gui is a cool JavaScript ilbrary that gives you a control panel for manipulating variables and calling functions in your code. It’s lightweight and simple to implement – just a few lines of code.

demos


jQueryUI provides some helpful UI elements, such as slider. For checkboxes you can use event callbacks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜