Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: src/site/samples/gauge/index.markdown

Issue 59753006: Added dart:js samples landing pages. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Post lgtm tweaks Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/samples/gauge/index.markdown
diff --git a/src/site/samples/gauge/index.markdown b/src/site/samples/gauge/index.markdown
new file mode 100644
index 0000000000000000000000000000000000000000..8bb48be03b0f29a547523dcb2482cf3873eaf8e0
--- /dev/null
+++ b/src/site/samples/gauge/index.markdown
@@ -0,0 +1,30 @@
+---
+layout: default
+title: Google Charts API and dart:js
+live_example_url: example/gauge.html
+
+header:
+ css: ["/samples/samples.css"]
+---
+
+## {{ page.title }}
+
+This code derives from the Google Charts JavaScript API
+[Gauge Visualization](
+https://developers.google.com/chart/interactive/docs/gallery/gauge#Example)
+examples. The example uses the `dart:js` library for Dart and JavaScript
+interoperability.
+
+Read the [dart:js API
+docs](http://api.dartlang.org/docs/releases/latest/dart_js.html).
+
+Read the
+[source](https://code.google.com/p/dart/source/browse/#svn%2Fbranches%2Fbleeding_edge%2Fdart%2Fsamples%2Fgauge).
+
+<iframe class="running-app-frame"
+ style="height:600px;width:100%;"
+ src="{{page.live_example_url}}"
+ align="middle">
+</iframe>
+
+See all [samples](/samples/)
« no previous file with comments | « src/site/samples/gauge/example/gauge.dart.precompiled.js ('k') | src/site/samples/google_maps/index.markdown » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698