Method | Description | |
---|---|---|
IsBooleanAttribute ( string attribute, string tagName ) : bool | ||
IsBooleanAttribute ( string attribute, string tagName, string inputType ) : bool | ||
IsBooleanAttribute ( string attribute, string tagName, string inputType, bool requireInputTypeMatch ) : bool |
Returns a value indicating whether the given attribute for the given tag name corresponds to a boolean attribute. http://stackoverflow.com/a/707702/170990
|
Method | Description | |
---|---|---|
IsSelfClosing ( string tag ) : bool |
Determines whether the given tag can close itself, i.e. [tag /] in place of [tag][/tag].
|
public static IsBooleanAttribute ( string attribute, string tagName ) : bool | ||
attribute | string | |
tagName | string | |
return | bool |
public static IsBooleanAttribute ( string attribute, string tagName, string inputType ) : bool | ||
attribute | string | |
tagName | string | |
inputType | string | |
return | bool |
public static IsBooleanAttribute ( string attribute, string tagName, string inputType, bool requireInputTypeMatch ) : bool | ||
attribute | string | |
tagName | string | |
inputType | string | |
requireInputTypeMatch | bool | |
return | bool |