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