Class HidePageAction
[JsonObject]
public class HidePageAction : 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 HIDE a specific HTML element
Remarks
Uses the jQuery hide() method
Constructors
View SourceHidePageAction()
Create a new FeaturePageAction with the Hide action type
Declaration
[JsonConstructor]
public HidePageAction()
HidePageAction(String)
Create new FeaturePageAction with the Hide action type using a specific JQuery selector
Declaration
public HidePageAction(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 |