@extends('layouts/contentLayoutMaster') @section('title', 'Context Menu') @section('vendor-style') @endsection @section('page-style') @endsection @section('content')

Basic Menu

To create a basic context menu use $.contextMenu() and the add your target with {selector: "myId"} and then create your items for menu with {items:{"name" : "item 1"}}

Left Click

To create a context menu which pops up on left click use {trigger : "left"}.

Submenu

You can create context menu with sub menus by using {fold} and adding menu items inside of it.

Hover

To create a context menu which pops on hover use {trigger : true}

@endsection @section('vendor-script') @endsection @section('page-script') @endsection