Skip to content

Instantly share code, notes, and snippets.

View jackslocum's full-sized avatar

Jack Slocum jackslocum

View GitHub Profile
@jackslocum
jackslocum / gist:7ff2b8db16f848004b44
Created September 10, 2014 21:22
Better Declarative Listeners for ExtJS
/**
* @author Jack Slocum
* MIT License
*
* Adds support for "listens" config on components.
* http://jackslocum.com/blog/listens/
*/
Ext.define('xui.mods.Listens', {
override: 'Ext.Component',
@jackslocum
jackslocum / DelayTimer.js
Last active December 15, 2015 17:48
Tooltip timer class for Ext JS
/**
* @author Jack Slocum
* MIT License
*
* @class xui.util.DelayTimer
* Provides a convenient method for timing delayed show and hide of tooltips, callouts, etc
* @constructor
* @param {Object} config (optional)
*/