android-components / / 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>?


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

Inherited Functions

Name Summary
dismiss fun dismiss(): Unit
invalidate fun invalidate(): Unit
onViewAttachedToWindow open fun onViewAttachedToWindow(v: <ERROR CLASS>?): Unit
onViewDetachedFromWindow open fun onViewDetachedFromWindow(v: <ERROR CLASS>?): 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.