/// <summary> /// Gets the name attribute [Short for Attr("name")] /// </summary> public static string Name(this IHtmlBuilderState instance) { return(instance.Attr <string>("name")); }
/// <summary> /// Gets an Author defined attribute with the specified value. This method adds the "data-" prefix for you. /// </summary> public static TValue Data <TValue>(this IHtmlBuilderState instance, string name) { FormatName(ref name); return(instance.Attr <TValue>(name)); }
/// <summary> /// Gets the id attribute [Short for Attr("id")] /// </summary> /// <returns></returns> public static string Id(this IHtmlBuilderState instance) { return(instance.Attr <string>("id")); }