Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Correcting/updating examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Jun 29, 2013
1 parent afb5f7a commit c0fff7e
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions polymer-file/polymer-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,20 @@
*
* polymer-file provides File API operations.
*
* Example:
* Examples:
*
* <polymer-file id="file" auto readas="dataurl"
on-polymer-result="{{handResult}}"></polymer-file>
* <polymer-file id="file" readas="dataurl"
on-polymer-result="handleResult"></polymer-file>
* ...
* this.$.file.blob = new Blob(['abc', {type: 'text/plain'}]);
* this.$.file.read();
*
* ---
*
* <polymer-file id="file" readas="arraybuffer" auto
* result="{{result}}"></polymer-file>
* ...
* this.$.file.blob = new Blob(['abc', {type: 'text/plain'}]);
*/
/**
* Fired when a file read has complete.
Expand Down Expand Up @@ -64,7 +71,7 @@
*/
blob: null,
/**
* If true, automatically performs the file read.
* If true, automatically performs the file read (if a blob has been set).
*
* @attribute auto
* @type boolean
Expand Down

0 comments on commit c0fff7e

Please sign in to comment.