问题描述
我一直在寻找一个库,它可以帮助嵌入在画布区域中的 UI 小部件的呈现和功能,例如组合框、复选框、单选按钮、文本区域、带有滚动条的列表框等,而无需通过将它们浮动在画布区域的顶部来叠加普通的 HTML 元素.Flex 为 Flash 提供了所有这些功能,并且有许多 Actionscript 库可以在 Flash画布"(可以这么说)中创建 UI 小部件组件.这些 UI 小部件库在某些情况下为 Flash 社区提供了很好的服务,在 HTML5 画布中的类似情况下也需要这样做.
I've been looking for a library that can aid in the rendering and functionality of UI widgets embedded within the canvas area, such as combo boxes, check boxes, radio buttons, text areas, list boxes with scrollbars, etc, without superimposing normal HTML elements by floating them on top of the canvas area. Flex provides all this for Flash and there are many Actionscript libraries out there that create UI widget components within the Flash "canvas" (so to speak). These UI widget libraries have served the Flash community well in certain situations and this is also needed in analogous situations within HTML5 canvas.
有人知道在哪里可以找到这些库吗?
Does anyone know where these libraries can be found?
推荐答案
Zebkit(原 Zebra)相当完整虽然 Textarea
不是很丰富.
Zebkit (formerly Zebra) is fairly complete though the Textarea
is not very rich.
它已获得 Apache 2.0 许可.
它的 github 是 这里.
The github for it is here.
这篇关于用于 UI 小部件的 HTML5 画布库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!