skill.$el

Use this code to get the skill's element Zepto or jQuery selector

If the skill you're working on contains a templated HTML element you can use skill.$el to get the current skill's content DOM as a jQuery selector or Zepto selector (depending on what you have installed).

If the skill you're customizing does not have a content component then this attribute will be null.

Sample: Flash Skill Content After 15 Seconds

var FeraSkill = function(skill) {
var init = function() { };
/**
* After 15 seconds run the flashSkillContent method.
*/
this.run = function () {
setTimeout(flashSkillContent, 15000); // 15000 == 15 seconds.
};
/**
* Flashes the skill content 3 times.
*/
var flashSkillContent = function() {
skill.$el.fadeOut().fadeIn().fadeOut().fadeIn().fadeOut().fadeIn();
};
init();
};