Class ShowPageAction
[JsonObject]
public class ShowPageAction : 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 show a specific HTML element
Remarks
Uses the jQuery show() method
Constructors
View SourceShowPageAction()
Create a new FeaturePageAction with the Show action type
Declaration
[JsonConstructor]
public ShowPageAction()
ShowPageAction(String)
Create new FeaturePageAction with the Show action type using a specific JQuery selector
Declaration
public ShowPageAction(string selector)
Parameters
Type | Name | Description |
---|---|---|
System.String | selector | The JQuery selector to use |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | Thrown if no selector is specified |