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

Dart 1 only

A small polymer-component providing the same functionality as `Time from now` of the moment.js library

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add polymer_time_ago

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

dependencies:
  polymer_time_ago: ^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:polymer_time_ago/polymer_time_ago.dart';
0
likes
15
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A small polymer-component providing the same functionality as `Time from now` of the moment.js library

License

MIT (license)

Dependencies

polymer, reflectable, web_components

More

Packages that depend on polymer_time_ago