Web Widget Toolkit (also referenced as WWT) is a JavaScript API created to aid in the creation and event listening of widgets such as Buttons and Textboxes. The API has a similar style to SWT, a Java API created for the same purpose. One of the planned features is to include Look and Feel CSS files so the widgets look like native widgets (independent of the host operating system).
WWT was originally created to aid in the development of Journey and Project Ascension. It’s source is not yet available, but will be in the future.
WWT uses Spectrum for its ColorPicker widget. However, the <div>
containing the Replacer (the square showing the current color) is not exposed by Spectrum. The container element (the actual box where you select a new color, as well as some swatches) however, is exposed. In order for tooltip functionality to work (which requires the mouseenter
event from JQuery), this element needs to be exposed to WWT. There is a simple, less-than-10-lines hack that has been made to spectrum.js in order to allow this.
Pros:
Cons: