setShelfEnabled method
Enable or disable the gray shelf at the bottom of every window associated
with the current browser profile. The shelf will be disabled as long as
at least one extension has disabled it. Enabling the shelf while at least
one other extension has disabled it will return an error through
runtime.lastError
. Requires the "downloads.shelf"
permission in addition to the "downloads"
permission.
Implementation
@Deprecated(r'Use $(ref:setUiOptions) instead.')
void setShelfEnabled(bool enabled) {
$js.chrome.downloads.setShelfEnabled(enabled);
}