@odopod/odo-helpers
Advanced tools
Changelog
Dialog [2.0.2] - 2018-6-7
OdoDevice.HAS_PASSIVE_LISTENERS
in ScrollFix
to prevent scrolling the page behind the dialog in iOS 11.3+ again.Changelog
Sassplate [2.0.1] - 2018-6-7
min-width
, max-width
, min-height
, max-height
, letter-spacing
to numeric props.!default
flag to component framework variables so they can be overriden by the consumer.Changelog
Helpers [2.0.0] - 2018-02-12
Element#closest
Element#matches
, requestAnimationFrame
).animation.fadeElement
is now private.array.getLongestString
. Not used in anything we (odopod) do.device.getTranslate
.dom.getFirstElementChild
. Use element.firstElementChild
instead.dom.getChildren
. Use Array.from(element.children)
instead.math.getAugmentedRect
. The Rect
class now includes right
and bottom
(getter) properties.style.getWindowHeight
. Was only an alias for window.innerHeight
.onTransitionEnd
, for example, you now need to import it like this:
import { onTransitionEnd } from '@odopod/odo-helpers';
animation.Stepper
=> Stepper
animation.Classes
=> animationClasses
array.remove
=> pull
string.random
=> randomString
Changelog
Draggable [1.0.3], Carousel [1.0.3], Dual Viewer [1.0.3] - 2017-12-08
grabbable
class when the draggable instance is enabled/disabled.Changelog
Scroll Feedback [1.0.2] - 2017-11-13
disable()
not removing a touchmove
event listener, preventing touch devices from scrolling the page when they should have been able to.Changelog
Carousel [1.0.1] - 2017-09-01
getComputedStyle
returns "none"
when a transform has not yet been applied to the element.