TVUI Bookmarks DOM
Go Back...
The TVUI Bookmarks dom is accessible through the name "tvui.bookmarks".
Call back function properties | |
additem_cb | Set to function name that should be called to add an bookmark item. Function takes two parameters (title,url). |
focusfirst_cb | Set to function name that should be called to give focus to the bookmarks panel. Function takes no parameters. |
removeall_cb | Set to function name that should be called to remove all bookmarks. Function takes no parameters. |
removebookmark_cb | Set to function name that should be called to remove a specific bookmark. Function takes one parameter (item). |
Methods | |
addBookmark() | Function to add a bookmark. |
close() | Function to close the bookmarks panel. |
deleteItem(name) | Function to delete a bookmark item. Parameter is a string representing the name of the bookmark to delete. |
editBookmark(name, url, index) | Function to edit a bookmark. First two parameters are strings representing the name and URL of the bookmark to edit. Last parameter is an integer representing the index of the bookmark to edit. |
removeAll() | Function to remove all bookmark items. |
Top of the page
Go Back...
Return to Start