bookmarks.getChildren()

Retrieves the children of the specified BookmarkTreeNode ID.

Syntax

browser.bookmarks.getChildren(
  id,                     // string
  function(results) {...} // function
)

Parameters

id
string. ID of the folder whose children you want.
callback
function. The function is passed the following arguments:
results
array of bookmarks.BookmarkTreeNode. The folder's children.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Examples

Acknowledgements

This API is based on Chromium's chrome.bookmarks API. This documentation is derived from bookmarks.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,