com.github.gwtbootstrap.overview.html Maven / Gradle / Ivy
Show all versions of gwt-bootstrap Show documentation
GWT-Bootstrap Javadoc
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.
Installation
Add
{@literal }
to your {@code *.gwt.xml} file.
and Add below to your html's head tag.
{@literal
...
}
IMPORTANT: If you are using GWT-Platform,
please take a look at this comment on issue #82.
Setting up UiBinder
Add
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:
{@literal Some Button }
As usual, all setters map to UiBinder attributes. So the method
{@link com.github.gwtbootstrap.client.ui.Icon#setType(IconType type)
setType(IconType type)} can (and in this case: has to) be used via:
{@literal }
As you can see, the values are the ones of Bootstrap without the prefix
and in capital letters ("PLANE"
instead of
"icon-plane"
).
Enabling Responsive Design
Add the following to your {@code *.gwt.xml} file:
{@literal
}
Getting started with the library
Some things to get you started with:
-- {@link com.github.gwtbootstrap.client.ui The list of all available
widgets.}
-- {@link
com.github.gwtbootstrap.client.ui.config.Configurator 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.
@see Maven project site