version 0.1.2 support onclick event