|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gwtbootstrap3.client.ui.Affix
public class Affix
An Affix is an element/container that gets "pinned" as soon as a certain amount of pixels have been scrolled.
Any element/container can become an Affix. Usually used for sidebar navigation. Note: Bootstrap adds/removes classes from Affix based on scroll position which requires custom styling. See Bootstrap's documentation.
| Constructor Summary | |
|---|---|
Affix()
|
|
| Method Summary | |
|---|---|
static void |
affix(Element element)
Applys affix functionality to specified element. |
static void |
affix(Element element,
int offset)
Applys affix functionality to specified element. |
static void |
affix(UIObject object)
Applys affix functionality to specified object. |
static void |
affix(UIObject object,
int offset)
Applys affix functionality to specified object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Affix()
| Method Detail |
|---|
public static void affix(Element element)
element - Element to "affixnize"
public static void affix(Element element,
int offset)
element - Element to "affixnize"offset - Offset of affixpublic static void affix(UIObject object)
object - Object to "affixnize"
public static void affix(UIObject object,
int offset)
object - Object to "affixnize"offset - Offset of affix
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||