Class Meter
Generate a standard HTML5 <meter> tag
Implements
Inherited Members
Namespace: ToSic.Razor.Html5
Assembly: ToSic.Razor.dll
Syntax
public class Meter : Tag<Meter>, IRawHtmlString, IHtmlString, IHtmlTag, ITag, IEnumerable<ITag>, IEnumerable
Methods
| Improve this Doc View SourceForm(String)
Set the form attribute on the <meter> tag
Declaration
public Meter Form(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in form='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Meter | a Meter object to enable fluid command chaining |
High(String)
Set the high attribute on the <meter> tag
Declaration
public Meter High(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in high='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Meter | a Meter object to enable fluid command chaining |
Low(String)
Set the low attribute on the <meter> tag
Declaration
public Meter Low(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in low='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Meter | a Meter object to enable fluid command chaining |
Max(String)
Set the max attribute on the <meter> tag
Declaration
public Meter 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 |
---|---|
Meter | a Meter object to enable fluid command chaining |
Min(String)
Set the min attribute on the <meter> tag
Declaration
public Meter Min(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in min='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Meter | a Meter object to enable fluid command chaining |
Optimum(String)
Set the optimum attribute on the <meter> tag
Declaration
public Meter Optimum(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | what should be in optimum='...'. If called multiple times, later values replace the previous value. |
Returns
Type | Description |
---|---|
Meter | a Meter object to enable fluid command chaining |
Value(String)
Set the value attribute on the <meter> tag
Declaration
public Meter 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 |
---|---|
Meter | a Meter object to enable fluid command chaining |