From dda3ab93cd899e6ef898a71ca1c91d7012cffb35 Mon Sep 17 00:00:00 2001 From: Adriana Trif Date: Fri, 20 Oct 2017 18:11:40 +0300 Subject: [PATCH 1/4] Added Demo page for dropdown in modal --- bower.json | 3 ++- demo/demo-in-modal.html | 51 +++++++++++++++++++++++++++++++++++++++++ demo/index.html | 8 +++++++ 3 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 demo/demo-in-modal.html diff --git a/bower.json b/bower.json index fc666e6..e9169e0 100644 --- a/bower.json +++ b/bower.json @@ -14,7 +14,8 @@ "iron-flex-layout": "PolymerElements/iron-flex-layout#^1.3.1", "paper-icon-button": "PolymerElements/paper-icon-button#^1.1.3", "etools-ajax": "^2.0.0", - "paper-menu": "PolymerElements/paper-menu#^1.3.0" + "paper-menu": "PolymerElements/paper-menu#^1.3.0", + "etools-dialog": "^1.2.6" }, "devDependencies": { "iron-component-page": "PolymerElements/iron-component-page#^1.0.0", diff --git a/demo/demo-in-modal.html b/demo/demo-in-modal.html new file mode 100644 index 0000000..73d0604 --- /dev/null +++ b/demo/demo-in-modal.html @@ -0,0 +1,51 @@ + + + + + + + + + + diff --git a/demo/index.html b/demo/index.html index 36e67d4..076f578 100644 --- a/demo/index.html +++ b/demo/index.html @@ -21,6 +21,7 @@ + - +

Single selection

@@ -43,6 +43,14 @@

Old esmm versions

}, openDialog: function() { this.$.etoolsDialog.opened = true; + }, + isIEBrowser: function() { + let userAgent = window.navigator.userAgent; + if (userAgent.indexOf('Trident/') > -1) { + // IE 11 + return true; + } + return false; } }); diff --git a/demo/index.html b/demo/index.html index 076f578..08c7e52 100644 --- a/demo/index.html +++ b/demo/index.html @@ -98,7 +98,7 @@

ReadOnly and Starred state

-

Dropdon in etools-dialog

+

Dropdown in etools-dialog