|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Welcome to the GWT-Bootstrap Javadoc.
GWT-Bootstrap provides GWT widgets styled and (partly) operated by Twitter's Bootstrap. Bootstrap is a project of Mark Otto and Jacob Thornton.
<inherits name="com.github.gwtbootstrap.Bootstrap" />to your
*.gwt.xml
file.
<head> <!-- before your module(*.nocache.js) loading --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" href="{your module name}/css/font-awesome-ie7.css"> <![endif]--> <!-- your module(*.nocache.js) loading --> ... </head>
IMPORTANT: If you are using GWT-Platform, please take a look at this comment on issue #82.
xmlns:b="urn:import:com.github.gwtbootstrap.client.ui"to the top of every UiBinder file that uses GWT-Bootstrap widgets. You can then use the widgets in the
"b"
namespace:
<b:Button>Some Button</b:Button>
As usual, all setters map to UiBinder attributes. So the method
setType(IconType type)
can (and in this case: has to) be used via:
<b:Icon type="PLANE" />As you can see, the values are the ones of Bootstrap without the prefix and in capital letters (
"PLANE"
instead of
"icon-plane"
).
*.gwt.xml
file:
<set-property name="bootstrap.responsiveDesign" value="true"/>
-- The list of all available
widgets.
-- A way to
provide your own Bootstrap JavaScript/CSS files.
-- Our Showcase (external)
-- The code on
Github (external)
Please don't hesitate to ask questions in our Google Group and open an issue if you found a bug or have a feature suggestion.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |