// Generated by github.com/steida/coffee2closure 0.1.12
goog.provide('spark.components.Label');
goog.require('spark.core.View');
/**
Label component of Spark Framework.
*/
/**
@constructor
@export
@param {Object=} options Class options.
@param {*=} data Class data
@extends {spark.core.View}
*/
spark.components.Label = function(options, data) {
var _ref;
if (options == null) {
options = {};
}
options.tagName = options['tagName'] = 'label';
if (options.label == null) {
options.label = (_ref = options['label']) != null ? _ref : 'Input Label';
}
options.template = options.label;
this.getCssClass(options, 'label');
spark.components.Label.superClass_.constructor.call(this, options, data);
}
goog.inherits(spark.components.Label, spark.core.View);