rochdev/tinto

View on GitHub
lib/html/components/item.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

var Component = require('../../component');
var inherits = require('../../utils/inherits');

/**
 * @memberOf tinto.html.components
 * @param {Promise} locator
 * @extends tinto.Component
 * @constructor
 * @property {tinto.Attribute} text
 */
function Item() {
  Component.apply(this, arguments);

  this.property('text');
}

inherits(Item, Component);

module.exports = Item;