Skip to content

Instantly share code, notes, and snippets.

@savelee
Created November 1, 2016 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save savelee/ba45471a77d08b5b9c5f72d7041c69bf to your computer and use it in GitHub Desktop.
Save savelee/ba45471a77d08b5b9c5f72d7041c69bf to your computer and use it in GitHub Desktop.
Custom component (part 7)
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