#GQuery Appear Plugin
##Description of the plugin Appear plugin allows an element to be notified when it enters or leaves screen when scrolling
##How it works ? To call the plugin:
import static com.arcbees.gquery.appear.client.Appear.Appear;
$(myElement).As(Appear)
.appear(new Function() {
@Override
public void f() {
// Do something onAppear here
}
)}
.disappear(new Function() {
@Override
public void f() {
// Do something onDisappear here
}
)};
There is no official release yet, but you can use a snapshot version ###With maven :
<dependency>
<groupId>com.arcbees.gquery</groupId>
<artifactId>appear</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
Chrome 18, FF 14, IE 11, Opera 15, Safari 6