Dart Documentationchrome.declarativeContentShowPageAction

ShowPageAction class

Declarative event action that shows the extension's [][pageAction page action] while the corresponding conditions are met. This action can be used without host permissions, but the extension must have a page action. If the extension takes the activeTab permission, a click on the page action will grant access to the active tab.

class ShowPageAction extends ChromeObject {
 ShowPageAction();
 ShowPageAction.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);
}

Extends

ChromeObject > ShowPageAction

Constructors

new ShowPageAction() #

Create a new instance of a ChromeObject, which creates and delegates to a JsObject proxy.

docs inherited from ChromeObject
ShowPageAction();

new ShowPageAction.fromProxy(JsObject jsProxy) #

Create a new instance of a ChromeObject, which delegates to the given JsObject proxy.

docs inherited from ChromeObject
ShowPageAction.fromProxy(JsObject jsProxy): super.fromProxy(jsProxy);

Properties

final jsProxy #

inherited from ChromeObject
final dynamic jsProxy

Methods

JsObject toJs() #

inherited from ChromeObject
JsObject toJs() => jsProxy;

String toString() #

inherited from ChromeObject

Returns a string representation of this object.

docs inherited from Object
String toString() => jsProxy.toString();