Class FeaturePageAction
[JsonObject]
public class FeaturePageAction
Inheritance
System.Object
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
An action to be executed on a feature page using javascript
Constructors
View SourceFeaturePageAction()
Create a new, empty FeaturePageAction
Declaration
[JsonConstructor]
public FeaturePageAction()
FeaturePageAction(String, String, String)
Create a new FeaturePageAction
Declaration
public FeaturePageAction(string pageAction, string selector, string data = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | pageAction | The key for the action to take. See EPageAction |
System.String | selector | The JQuery Selector to use |
System.String | data | Data to include with the action. See documentation on each action for more info. |
Properties
View SourceData
Additional data associated with the action
Declaration
[JsonProperty("data")]
public string Data { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PageAction
The page action to take. See EPageAction for acceptable keys
Declaration
[JsonProperty("page_action")]
public string PageAction { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Selector
The JQuery selector to use when performing the action
Declaration
[JsonProperty("selector")]
public string Selector { get; set; }
Property Value
Type | Description |
---|---|
System.String |