Class SetValuePageAction
[JsonObject]
public class SetValuePageAction : FeaturePageAction
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: HomeSeer.PluginSdk.Features.Responses.PageActions
Assembly: PluginSdk.dll
A FeaturePageAction used to instruct the client to set the value for an HTML element
Remarks
Uses the jQuery val() method
Constructors
View SourceSetValuePageAction()
Create a new FeaturePageAction with the SetValue action type
Declaration
[JsonConstructor]
public SetValuePageAction()
SetValuePageAction(String, String)
Create new FeaturePageAction with the SetValue action type using a specific JQuery selector
Declaration
public SetValuePageAction(string selector, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | selector | The JQuery selector to use |
System.String | value | The value to set on the element |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if no selector is specified |