ContextMenus

@native @JSGlobal("chrome.contextMenus") @JSType
object ContextMenus extends Object
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def create(createProperties: CreateProperties): String | Int
def remove(menuItemId: String | Int, callback: Function0[Unit]): String | Int
def removeAll(callback: Function0[Unit]): Unit
def update(id: String | Int, properties: UpdateProperties): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

val onClicked: Event[Function2[MenuInfo, Tab, _]]