Search Results for

    Show / Hide Table of Contents

    Class SetHtmlPageAction

    • C#
    • Visual Basic
    [JsonObject]
    public class SetHtmlPageAction : FeaturePageAction
    <JsonObject>
    Public Class SetHtmlPageAction
        Inherits FeaturePageAction
    Inheritance
    System.Object
    FeaturePageAction
    SetHtmlPageAction
    Inherited Members
    FeaturePageAction.PageAction
    FeaturePageAction.Selector
    FeaturePageAction.Data
    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 HTML for an HTML element


    Remarks

    Uses the jQuery html() method

    Constructors

    View Source

    SetHtmlPageAction()

    Create a new FeaturePageAction with the SetHtml action type

    Declaration
    • C#
    • Visual Basic
    [JsonConstructor]
    public SetHtmlPageAction()
    <JsonConstructor>
    Public Sub New
    View Source

    SetHtmlPageAction(String, String)

    Create new FeaturePageAction with the SetHtml action type using a specific JQuery selector

    Declaration
    • C#
    • Visual Basic
    public SetHtmlPageAction(string selector, string html)
    Public Sub New(selector As String, html As String)
    Parameters
    Type Name Description
    System.String selector

    The JQuery selector to use

    System.String html

    The html to set on the element

    Exceptions
    Type Condition
    System.ArgumentNullException

    Thrown if no selector is specified

    • View Source
    In This Article
    Back to top HomeSeer Technologies