| col 3 is | right-aligned | | col 2 is | centered | | zebra stripes | are neat |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2020 Google LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
function talkback() { | |
if [[ -z $1 ]]; then | |
echo "Usage: $0 [on/off]" | |
exit | |
fi | |
if [[ $1 == 'on' ]]; then |
Author: Shailen Tuli Reviewers: Trevor Johns, Kathy Walrath
All sample code must comply with the official Dart Style Guide.
Author: Shailen Tuli
Reviewers: Trevor Johns, Ali Afshar, Wesley Chun
All Dev Platform Python code must comply with Pep8.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_element.html | |
--------------- | |
<link rel="import" href="packages/polymer/polymer.html"> | |
<link rel="import" href="packages/core_elements/core_selector.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
.core-selected { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<polymer-element name="my-element"> | |
<template> | |
<div on-change="{{updateSelectedColor}}"> | |
<template repeat="{{color in colors}}"> | |
<label>{{color}} | |
<input type="radio" name="colors" value="{{color}}"> | |
</label> | |
</template> | |
</div> | |
<div>{{selectedColor}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The Polymer element. | |
<link rel="import" href="../components/polymer/polymer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<template if="{{!showAnswer}}"> | |
<div id="question">What is the answer to "The Ultimate Question of Life, the Universe, and Everything"? | |
</div> | |
<div id="show" on-click="{{enableShowAnswer}}">Show</div> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-rw-r--r-- 1 shailentuli 5000 18B Mar 31 09:55 animation.dart.html_reference | |
-rw-r--r-- 1 shailentuli 5000 809K Mar 31 09:55 animation.dart.js | |
-rw-r--r-- 1 shailentuli 5000 1.1M Mar 31 09:55 animation.dart.precompiled.js | |
-rw-r--r-- 1 shailentuli 5000 1.6K Mar 31 09:55 animation.html | |
-rw-r--r-- 1 shailentuli 5000 23B Mar 31 09:55 bouncing_balls.dart.html_reference | |
-rw-r--r-- 1 shailentuli 5000 790K Mar 31 09:55 bouncing_balls.dart.js | |
-rw-r--r-- 1 shailentuli 5000 1.1M Mar 31 09:55 bouncing_balls.dart.precompiled.js | |
-rw-r--r-- 1 shailentuli 5000 1.9K Mar 31 09:55 bouncing_balls.html | |
drwxr-xr-x 5 shailentuli 5000 170B Mar 31 09:55 css | |
-rw-r--r-- 1 shailentuli 5000 20B Mar 31 09:55 hello_world.dart.html_reference |
NewerOlder