ay-menu-button
Advanced tools
Comparing version 1.0.5 to 1.0.6
/*! Copyright 2016 Ayogo Health Inc. */ | ||
declare const modName = "ayMenuButton"; | ||
export default modName; |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
/*! Copyright 2016 Ayogo Health Inc. */ | ||
import { MenuButtonBehaviour } from './button'; | ||
export default function MenuButton(el: HTMLButtonElement): MenuButtonBehaviour; |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -258,2 +258,3 @@ /*! Copyright 2016 Ayogo Health Inc. */ | ||
doc.body.style.top = -offset + 'px'; | ||
htmlNode.style.minHeight = '100vh'; | ||
htmlNode.style.overflowY = 'scroll'; | ||
@@ -271,2 +272,3 @@ } | ||
htmlNode.style.removeProperty('overflow-y'); | ||
htmlNode.style.removeProperty('min-height'); | ||
if (doc.scrollingElement) { | ||
@@ -273,0 +275,0 @@ doc.scrollingElement.scrollTop = offset; |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -272,2 +272,3 @@ /*! Copyright 2017 Ayogo Health Inc. */ | ||
doc.body.style.top = -offset + 'px'; | ||
htmlNode.style.minHeight = '100vh'; | ||
htmlNode.style.overflowY = 'scroll'; | ||
@@ -285,2 +286,3 @@ } | ||
htmlNode.style.removeProperty('overflow-y'); | ||
htmlNode.style.removeProperty('min-height'); | ||
if (doc.scrollingElement) { | ||
@@ -287,0 +289,0 @@ doc.scrollingElement.scrollTop = offset; |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -272,2 +272,3 @@ /*! Copyright 2017 Ayogo Health Inc. */ | ||
doc.body.style.top = -offset + 'px'; | ||
htmlNode.style.minHeight = '100vh'; | ||
htmlNode.style.overflowY = 'scroll'; | ||
@@ -285,2 +286,3 @@ } | ||
htmlNode.style.removeProperty('overflow-y'); | ||
htmlNode.style.removeProperty('min-height'); | ||
if (doc.scrollingElement) { | ||
@@ -287,0 +289,0 @@ doc.scrollingElement.scrollTop = offset; |
{ | ||
"name": "ay-menu-button", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"copyright": "Copyright 2016 Ayogo Health Inc.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -0,0 +0,0 @@ ayMenuButton |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -0,0 +0,0 @@ /*! Copyright 2016 Ayogo Health Inc. */ |
@@ -357,2 +357,3 @@ /*! Copyright 2016 Ayogo Health Inc. */ | ||
htmlNode.style.minHeight = '100vh'; | ||
htmlNode.style.overflowY = 'scroll'; | ||
@@ -372,2 +373,3 @@ } | ||
htmlNode.style.removeProperty('overflow-y'); | ||
htmlNode.style.removeProperty('min-height'); | ||
@@ -374,0 +376,0 @@ if (doc.scrollingElement) { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1781
145063
29