Skip to content

ArcBees/gwtquery-appear-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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
            }
        )};

How to install

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>

Browser compatibility

Chrome 18, FF 14, IE 11, Opera 15, Safari 6

##Thanks to Arcbees.com

Atlassian

IntelliJ

About

ArcBees GQuery Appear Plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages