android-components / mozilla.components.browser.menu / WebExtensionBrowserMenu

WebExtensionBrowserMenu

class WebExtensionBrowserMenu : BrowserMenu (source)

A BrowserMenu capable of displaying browser and page actions from web extensions.

Inherited Properties

Name Summary
currentPopup var currentPopup: <ERROR CLASS>?

Functions

Name Summary
show fun show(anchor: <ERROR CLASS>, orientation: Orientation, endOfMenuAlwaysVisible: Boolean, onDismiss: () -> Unit): <ERROR CLASS>

Inherited Functions

Name Summary
dismiss fun dismiss(): Unit
invalidate fun invalidate(): Unit

Extension Functions

Name Summary
loadResourceAsString fun Any.loadResourceAsString(path: String): String
Loads a file from the resources folder and returns its content as a string object.