declarativeContent property

JSDeclarativeContent get declarativeContent

Use the chrome.declarativeContent API to take actions depending on the content of a page, without requiring permission to read the page's content.

Implementation

JSDeclarativeContent get declarativeContent {
  var declarativeContentNullable = this.declarativeContentNullable;
  if (declarativeContentNullable == null) {
    throw ApiNotAvailableException('chrome.declarativeContent');
  }
  return declarativeContentNullable;
}