ExtensionSidebarPane class

Properties

hashCode int
The hash code for this object.
no setterinherited
onHidden EventStream<void>
Fired when the sidebar pane becomes hidden as a result of the user switching away from the panel that hosts the sidebar pane.
no setter
onShown EventStream<JSObject>
Fired when the sidebar pane becomes visible as a result of user switching to the panel that hosts it.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
toJS ExtensionSidebarPane
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setExpression(String expression, String? rootTitle, JSFunction? callback) → void
Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane. expression An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch. rootTitle An optional title for the root of the expression tree. callback A callback invoked after the sidebar pane is updated with the expression evaluation results.
setHeight(String height) → void
Sets the height of the sidebar. height A CSS-like size specification, such as '100px' or '12ex'.
setObject(String jsonObject, String? rootTitle, JSFunction? callback) → void
Sets a JSON-compliant object to be displayed in the sidebar pane. jsonObject An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client). rootTitle An optional title for the root of the expression tree. callback A callback invoked after the sidebar is updated with the object.
setPage(String path) → void
Sets an HTML page to be displayed in the sidebar pane. path Relative path of an extension page to display within the sidebar.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited