Class Details
Generate a standard HTML5 <details> 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 Details : Tag<Details>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceOpen()
Activate the open attribute on the <details> tag
Declaration
public Details Open()
Returns
Type | Description |
---|---|
Details | a Details object to enable fluid command chaining |
Open(String)
Set the open attribute on the <details> tag
Declaration
public Details 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 |
---|---|
Details | a Details object to enable fluid command chaining |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable