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

Dart 1 only

A time zone web component that acts as a service facade for the Google Time Zone API.

rb-time-zone #

A time zone web component that acts as a service facade for the Google Time Zone API.

Using the element #

Import into HTML:

<link rel="import" href="packages/rb_time_zone/rb_time_zone.html">

Import into Dart:

import 'package:rb_time_zone/rb_time_zone.dart';

Example #

Translating the request example provided by the Google Time Zone API:

WebService call

https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&key={API_KEY}

Web Component

<rb-time-zone
  latitude="39.6034810"
  longitude="-119.6822510"
  timestamp="1331161200"
  apiKey="{API_KEY}">
</rb-time-zone>

Note: Parameters inside curly braces are optional

0
likes
30
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

A time zone web component that acts as a service facade for the Google Time Zone API.

Repository (GitHub)
View/report issues

Documentation

Documentation

License

LGPL-3.0 (license)

Dependencies

core_elements, polymer

More

Packages that depend on rb_time_zone