Trait

org.danielnixon.progressive

EventHandlers

Related Doc: package progressive

Permalink

trait EventHandlers extends AnyRef

Extension points to customize the behaviour of Progressive. You'll need to provide an implementation of this trait when initializing Progressive.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventHandlers
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def additionalSetup(element: Element): Unit

    Permalink

    Use this method to set up page elements that have been updated by ajax forms, links or refresh elements.

    Use this method to set up page elements that have been updated by ajax forms, links or refresh elements. It is important that you keep this method idempotent and performant as it may be invoked frequently if you have refresh elements set to refresh on a schedule.

    element

    The element being set up.

  5. def additionalSetupInitial(body: Body): Unit

    Permalink

    Use this method to set up the body of the page by attaching event handlers, progressively enhancing elements, etc.

    Use this method to set up the body of the page by attaching event handlers, progressively enhancing elements, etc. This method is invoked by Progressive exactly once per page load.

    body

    The body element.

  6. def applyDiff(element: Element): Boolean

    Permalink

    Determines whether a virtual dom patch should be applied to a refresh element or not.

    Determines whether a virtual dom patch should be applied to a refresh element or not.

    element

    The refresh element.

    returns

    True if the virtual dom patch should be applied, false otherwise.

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def postFormSubmit(form: Form): Unit

    Permalink

    Code to execute after an ajax form has been submitted.

    Code to execute after an ajax form has been submitted. The default implementation focuses the first invalid form element (if any).

    form

    The form.

    Annotations
    @SuppressWarnings()
  19. def preFormSubmit(form: Form): Boolean

    Permalink

    Code to execute before an ajax form has been submitted.

    Code to execute before an ajax form has been submitted. The default implementation resets any invalid form elements.

    form

    The form.

    returns

    True if the form should be submitted, false otherwise.

    Annotations
    @SuppressWarnings()
  20. def scrollOffset: Int

    Permalink

    A y-axis offset (in pixels) to use when scrolling an element into view.

    A y-axis offset (in pixels) to use when scrolling an element into view. Useful when there are elements fixed at the top of the page, such as navbars or headers, that would otherwise obscure the element being scrolled into view.

    returns

    The offset in pixels to apply when scrolling an element into view.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped