Example #1
0
        /// <summary>
        /// Sets the value of the label.
        /// </summary>
        /// <param name="label">The value of the label.</param>
        /// <returns>Current component.</returns>
        public YimaFormInputIcon Label(string label)
        {
            LabelValue = label;
            LabelHtmlAttribute.Append("class", "control-label");

            return(this);
        }
Example #2
0
        /// <summary>
        /// Hides the label.
        /// </summary>
        /// <returns>Current component.</returns>
        public YimaFormInputIcon HideLabel()
        {
            LabelHtmlAttribute.Append("class", "sr-only");

            return(this);
        }