File: js/uinavitem.js
/**
* The UINavItem is an item of a UINavBar, like an action button or an anchor link
*
* @class UINavItem
* @extends UI
* @constructor
* @module UI
* @author Emilio Mariscal (emi420 [at] gmail.com)
* @author Martin Szyszlican (martinsz [at] gmail.com)
*/
(function ($, Mootor) {
"use strict";
var UINavItem,
UI;
// Dependences
UI = Mootor.UI;
// Private constructors
Mootor.UINavItem = UINavItem = function(options) {
this.el = options.el;
this.$el = $(this.el);
this.$el.addClass("m-nav-item");
};
// Prototypal inheritance
$.extend(UINavItem.prototype, UI.prototype);
// Private static methods and properties
$.extend(UINavItem, {
});
// Public methods and properties
$.extend(UINavItem.prototype, {
// code here
});
}(window.$, window.Mootor));