class PolymerExpressions


An extension of polymer_expressions.PolymerExpressions that adds support for binding events using on-eventName using PolymerEventBindings.

Inheritance
  • Object
  • BindingDelegate
  • PolymerExpressions
Mixes-in

Static Properties

getBinding → dynamic

read-only
getExpression → dynamic

read-only

Constructors

PolymerExpressions({Map<String, Object> globals})

Properties

globals → Map<String, Object>

read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

findController(Node node) → Element

Finds the event controller for this node.

inherited
getEventHandler(controller, target, String method) → EventListener

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
prepareBinding(String path, name, node) → dynamic

Prepares a binding. This is called immediately after parsing a mustache token with {{ path }} in the context of the node and the property named name. This should return a function that will be passed the actual node and model, and either returns null or an object with a value property. This allows the syntax to reinterpret the model for each binding.

prepareEventBinding(String path, String name, Node node) → dynamic

inherited
prepareInstanceModel(Element template) → dynamic

Returns a function that can optionally replace the model that will be passed to TemplateBindExtension.createInstance. This can be used to implement syntax such as <template repeat="{{ item in items }}"> by ensuring that the returned model has the "item" name available.

prepareInstancePositionChanged(Element template) → dynamic

Returns a function that will be called whenever the position of an item inside this template changes.

toString() → String

Returns a string representation of this object.

inherited