Package

org.hyperscala.realtime.event

server

Permalink

package server

Visibility
  1. Public
  2. All

Type Members

  1. case class InsertHTMLContent(html: String, after: String, parent: String, append: Boolean) extends Product with Serializable

    Permalink

    Sent to the client to insert HTML into the page after the specified id.

    Sent to the client to insert HTML into the page after the specified id.

    html

    the HTML to insert

    after

    the id of the element to insert the HTML after (null if it should be the first element)

    parent

    the id of the parent element to insert the HTML into (only specified if after is null)

    append

    true if this should be appended to the end of the list

  2. case class InsertSVGContent(svg: String, after: String, parent: String) extends Product with Serializable

    Permalink

    Sent to the client to insert SVG into the page after the specified id.

    Sent to the client to insert SVG into the page after the specified id.

    svg

    the SVG to insert

    after

    the id of the element to insert the SVG after (null if it should be the first element)

    parent

    the id of the parent element to insert the HTML into (only specified if after is null)

  3. case class ReloadPage(forcedReload: Boolean) extends Product with Serializable

    Permalink

    Event sent to the browser to tell it to reload the page.

  4. case class RemoveHTMLContent(id: String) extends Product with Serializable

    Permalink

  5. case class SetHTMLAttribute(id: String, key: String, value: Any) extends Product with Serializable

    Permalink

    SetHTMLAttribute is sent to the browser to modify an attribute on an HTML element.

    SetHTMLAttribute is sent to the browser to modify an attribute on an HTML element.

    id

    the id of the element to modify

    key

    the attribute name

    value

    the new attribute value

  6. case class SetSelectorStyle(selector: String, key: String, value: String, important: Boolean, styleSheet: Boolean) extends Product with Serializable

    Permalink

Ungrouped