observe 0.10.1+2

changelog

This file contains highlights of what changes on each version of the observe package.

Pub version 0.10.0

  • package:observe no longer declares @MirrorsUsed. The package uses mirrors for development time, but assumes frameworks (like polymer) and apps that use it directly will either generate code that replaces the use of mirrors, or add the @MirrorsUsed declaration themselves. For convinience, you can import 'package:observe/mirrors_used.dart', and that will add a @MirrorsUsed annotation that preserves properties and classes labeled with @reflectable and properties labeled with @observable.

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  observe: ">=0.10.1+2 <0.11.0"

If your package is an application package you should use any as the version constraint.

2. Install it

If you're using the Dart Editor, choose:

Menu > Tools > Pub Install

Or if you want to install from the command line, run:

$ pub install

3. Import it

Now in your Dart code, you can use:

import 'package:observe/observe.dart';

About

Observable properties and objects for use in template_binding. Template Binding extends HTML and the DOM APIs to support a sensible separation between the UI (DOM) of a document or application and its underlying data (model). Updates to the model are reflected in the DOM and user input into the DOM is immediately assigned to the model.

Author

Email web-ui-dev@dartlang.org Polymer.dart Authors

Homepage

www.dartlang.org/polymer-dart/

Documentation

www.dartdocs.org/documentation/observe/0...

Uploader

dgrove@google.com
sigmund@google.com
jmesserly@google.com
nweiz@google.com

Share