cupertino-pane
Advanced tools
Changelog
1.1.8 - 2020-08-29
offset
for breaks are not more under support. Renamed with height
breaks: {
...
middle: {
enabled: true,
height: 400
}
}
upperThanTop
settings propertytouchMoveStopPropagation
settings property. Set true
to prevent all move events behind pane and backdrop #55bounce
property for breakpoints (transition in apple stocks style)breaks: {
...
middle: {
enabled: true,
height: 400,
bounce: true
}
}
touchAngle
settings property which allow user set possible pane move angle. Helps to handle horizontal slider elements inside pane such as ion-item-sliding
#23pushElement
and pushMinHeight
properties const settings = {
...
parentElement: 'ion-tabs',
pushElement: 'app-home',
pushMinHeight: 350
}
preventClicks
parameterChangelog
1.1.7 - 2020-07-22
myPane.backdrop({show: true}); // show
myPane.backdrop({show: false}); // hide
// String selector
new CupertinoPane('.cupertino-pane');
// HTML element
let element = document.querySelector('.cupertino-pane');
new CupertinoPane(element); // HTMLElement