From 014404239db98b376b6ff1b6923879422b6a2c85 Mon Sep 17 00:00:00 2001 From: Teresa Date: Mon, 7 Dec 2015 22:29:53 -0800 Subject: [PATCH] Added help-new.jade --- public/docs/ts/latest/help-new.jade | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 public/docs/ts/latest/help-new.jade diff --git a/public/docs/ts/latest/help-new.jade b/public/docs/ts/latest/help-new.jade new file mode 100644 index 0000000000..42f4561286 --- /dev/null +++ b/public/docs/ts/latest/help-new.jade @@ -0,0 +1,24 @@ +div(flex) + p. + What's your question about? + select#dropdown(name="Angular Version" class="dropdown") + option(value="Angular2") Angular2 + option(value="AngularJS") AngularJS + button#btn(class="btn"). + Submit + +script(src="//www.gstatic.com/feedback/api.js" type="text/javascript") + +script. + var btn = document.getElementById("btn"); + var submitFeedback = function() { + var dropdown = document.getElementById("dropdown"); + var configuration = { + 'productId': 'Angular', + 'authuser': '1', + 'bucket': dropdown.options[dropdown.selectedIndex].value + } + userfeedback.api.startFeedback(configuration); + } + btn.addEventListener("click", submitFeedback); +