My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
PreventDefaultAndStopPropagation  
PreventDefault and StopPropagation overview
Updated Aug 19, 2010 by gal.dol...@gmail.com

Introduction

These are other extensions of the event binding system. They are only valid for DomEvents.

@PreventDefault will call event.preventDefault(); @StopPropagation will call event.stopPropagation();

Example:

    @ViewHandler
    @PreventDefault
    @StopPropagation
    protected void addButton$click() {
        placeManager.go(EditContactPresenter.class);
    }
Powered by Google Project Hosting