2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
5 package org.apidesign.bck2brwsr.htmlpage.api;
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
12 /** Adds an onClick handler to an element identified by given <em>id</em>.
13 * Apply on a <code>public static void</code> method with no arguments.
15 * @author Jaroslav Tulach <jtulach@netbeans.org>
17 @Retention(RetentionPolicy.SOURCE)
18 @Target(ElementType.METHOD)
19 public @interface OnClick {