Package arez.dom

Interface EventDrivenValue.Accessor<SourceType extends akasha.EventTarget,ValueType>

Type Parameters:
SourceType - the type of the DOM element that generates events of interest.
ValueType - the type of the value returned by the "value" observable.
Enclosing class:
EventDrivenValue<SourceType extends akasha.EventTarget,ValueType>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @JsFunction public static interface EventDrivenValue.Accessor<SourceType extends akasha.EventTarget,ValueType>
The functional interface defining accessor.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(SourceType source)
    Return the value.
  • Method Details

    • get

      ValueType get(@Nonnull SourceType source)
      Return the value.
      Parameters:
      source - the source that drives the access.
      Returns:
      the value