Re: [w3c/manifest] WIP: beforeinstallprompt (#506)

marcoscaceres commented on this pull request.



> +            "InvalidStateError".
+            </li>
+            <li>Let <var>p</var> be a new promise.
+            </li>
+            <li>Run the following steps in parallel:
+            </li>
+            <li>Return <var>p</var>.
+            </li>
+          </ol>
+        </section>
+        <section>
+          <h4>
+            <code>userChoice</code> attribute
+          </h4>
+          <p>
+            The <dfn><code>userChoice</code> attribute</dfn>, when getting,

I know "getting" is weird, but it's technobabble from WebIDL: as each attribute is specified as having getters and setters, getting corresponds to calling a getter: 

```JS
class BeforeInstallPromptEvent extends Event {
  get userChoice(){ // on "getting"
     // Do what spec says here..
  }
}
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/manifest/pull/506

Received on Friday, 14 October 2016 06:26:33 UTC