pushstate_anchor 0.1.0
pushstate_anchor: ^0.1.0 copied to clipboard
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_anchorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pushstate_anchor: ^0.1.0Alternatively, 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';