CAPLET | Admin HTML Themes

## Quick Search

## Touch Open

#### All device( iOS Android and Dektop )

drag left

drag Right

touch hold

touch tap

doubletap

swipe left

swipe right

#### Example code

    //Drag Right
    var dragright= Hammer( document.getElementById("touch-dragright") );
    	dragright.on("dragright", function(event) {
    	if((event.gesture.deltaY<=5 && event.gesture.deltaY>=-5) && event.gesture.deltaX <-100){
    		$('nav#menu').trigger( 'open.mm' );
    	}
    });

#### Or you can use in all pages action( #wrapper )

    var touchWrapper=document.getElementById("wrapper");
    if(touchWrapper){
    	var wrapper= Hammer( touchWrapper );
    	 wrapper.on("dragright", function(event) {	// hold , tap, doubletap ,dragright ,swipe, swipeup, swipedown, swipeleft, swiperight
    		if((event.gesture.deltaY<=7 && event.gesture.deltaY>=-7) && event.gesture.deltaX >100){
    			$('nav#menu').trigger( 'open.mm' );
    		}
    	 });
    	 wrapper.on("dragleft", function(event) {
    		if((event.gesture.deltaY<=5 && event.gesture.deltaY>=-5) && event.gesture.deltaX <-100){
    			$('nav#contact-right').trigger( 'open.mm' );
    		}
    	 });
    }

#### Inbox messages

- 1 : 52 am

  #### Edlado Holder

  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  YES. NO.
- 12 : 00 pm

  #### Laine Franchi

  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  YES. NO.
- 4 : 45 pm

  #### Cinda Collar

  Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
  YES. NO.

#### Notification

- when you opened the page

  #### Your request approved

  One Button (click to remove this)
  Accept.
- timeago

  #### Dashboard new design!! you want to see now ?

  Two Button (with link and click to close this) Lorem ipsum dolor sit amet, consectetur adipisicing elit,
  Go Now. Later.
- timeago

  #### Error 404 ( File not found )

  Two Button (click to action and remove)
  Accept. Fixed now.
- timeago

  #### Upgrade Premium ?

  Three button (test action)
  Now. Later. Delete.