Created
November 1, 2016 12:01
-
-
Save savelee/ba45471a77d08b5b9c5f72d7041c69bf to your computer and use it in GitHub Desktop.
Custom component (part 7)
This file contains 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
requires: [ | |
'ExtAddonHref.component.Href' | |
], | |
... | |
items: [ | |
{ | |
xtype: 'extaddonhref', | |
url: 'http://www.sencha.com', | |
title: 'Sencha.com' | |
}, | |
{ | |
xtype: 'extaddonhref', | |
preventDefault: true, | |
enableExternalUrlIcon: false, | |
target: "", | |
listeners: { | |
dblclick: function(e,t){ | |
console.log("double click:", e, t); | |
} | |
}, | |
title: 'Special Link' | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment