We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59b5579 commit 0144042Copy full SHA for 0144042
public/docs/ts/latest/help-new.jade
@@ -0,0 +1,24 @@
1
+div(flex)
2
+ p.
3
+ What's your question about?
4
+ select#dropdown(name="Angular Version" class="dropdown")
5
+ option(value="Angular2") Angular2
6
+ option(value="AngularJS") AngularJS
7
+ button#btn(class="btn").
8
+ Submit
9
+
10
+script(src="//www.gstatic.com/feedback/api.js" type="text/javascript")
11
12
+script.
13
+ var btn = document.getElementById("btn");
14
+ var submitFeedback = function() {
15
+ var dropdown = document.getElementById("dropdown");
16
+ var configuration = {
17
+ 'productId': 'Angular',
18
+ 'authuser': '1',
19
+ 'bucket': dropdown.options[dropdown.selectedIndex].value
20
+ }
21
+ userfeedback.api.startFeedback(configuration);
22
23
+ btn.addEventListener("click", submitFeedback);
24
0 commit comments