pushstate_anchor 0.1.0 copy "pushstate_anchor: ^0.1.0" to clipboard
pushstate_anchor: ^0.1.0 copied to clipboard

Dart 1 only

Extend the <a> tag with history.pushState(). Dart translation of pushstate-anchor that is compatible with Polymer.dart. Original author is Erik Ringsmuth <erik.ringsmuth@gmail.com>.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add pushstate_anchor

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  pushstate_anchor: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:pushstate_anchor/pushstate_anchor.dart';
0
likes
15
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Extend the <a> tag with history.pushState(). Dart translation of pushstate-anchor that is compatible with Polymer.dart. Original author is Erik Ringsmuth <erik.ringsmuth@gmail.com>.

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

browser, polymer

More

Packages that depend on pushstate_anchor