# Create swipe up to open content

**URL:** <https://forum.ionicframework.com/t/create-swipe-up-to-open-content/43413>\
**Category:** ionic-v1\
**Created:** [February 11, 2016, 7:47am UTC](https://forum.ionicframework.com/t/create-swipe-up-to-open-content/43413 "2016-02-11T07:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![qlipis](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/qlipis/32/76211_2.png) [@qlipis](https://forum.ionicframework.com/u/qlipis)\
**Post date:** [February 11, 2016, 7:47am UTC](https://forum.ionicframework.com/t/create-swipe-up-to-open-content/43413/1 "2016-02-11T07:47:58Z")

</div>

I am creating a simple app with the ionic framework, and I want to run a function on each of the swipe events or drag events. From the documentation, no example yet.

like this:  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/e/1/e129e61f043ed8515ed88e40584f84dd26b09d71.png)

When user swipe up/drag up arrow, it will open it ( like open notifications smarthphone ).  
Swipe down down or drag down, it will close it.

Can anyone help provide sample HTML & JS to listen to gesture event?  
Thank you in advance
