Created
October 21, 2013 20:16
-
-
Save huguogang/7090209 to your computer and use it in GitHub Desktop.
Add link to ExtJS Image component
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
xtype: 'image', | |
src: 'icons/google.png', | |
//defines the element that wraps around the image | |
autoEl: { | |
tag: 'a', | |
href: 'http://www.google.com', | |
target: '_blank' | |
//add any other attributes to the 'a' tag as needed | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment