Class Data
Generate a standard HTML5 <data> tag
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<ITag>
System.Collections.IEnumerable
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class Data : Tag<Data>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceOpen()
Activate the open attribute on the <data> tag
Declaration
public Data Open()
Returns
Type | Description |
---|---|
Data | a Data object to enable fluid command chaining |
Open(String)
Set the open attribute on the <data> tag
Declaration
public Data Open(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in open='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Data | a Data object to enable fluid command chaining |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable