Class Progress
Generate a standard HTML5 <progress> 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 Progress : Tag<Progress>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceMax(String)
Set the max attribute on the <progress> tag
Declaration
public Progress Max(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in max='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Progress | a Progress object to enable fluid command chaining |
Value(String)
Set the value attribute on the <progress> tag
Declaration
public Progress Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in value='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Progress | a Progress object to enable fluid command chaining |
Implements
System.Web.IHtmlString
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable