Fluqi.Widget.jMenuItem.MenuItem.WithAttribute C# (CSharp) Method

WithAttribute() public method

Registers an HTML attribute to be added to the control when it is rendered.
public WithAttribute ( string attrName, string attrValue ) : MenuItem
attrName string Name of the HTML attribute, e.g. "Tab" or "id" for example
attrValue string Value to be applied when the attribute is rendered
return MenuItem
		new public MenuItem WithAttribute(string attrName, string attrValue) {
			base.WithAttribute(attrName, attrValue);
			return this;
		}