Liking cljdoc? Tell your friends :D

chromex.ext.bookmark-manager-private

clj
  • available since Chrome 27
  * available since Chrome 27
raw docstring

api-tableclj

source

can-editclj/smacro

(can-edit)

Whether bookmarks can be modified.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Whether bookmarks can be modified.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

can-edit*cljs

(can-edit* config)
source

can-pasteclj/smacro

(can-paste parent-id)

Whether there are any bookmarks that can be pasted.

|parent-id| - The ID of the folder to paste into.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Whether there are any bookmarks that can be pasted.

  |parent-id| - The ID of the folder to paste into.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

can-paste*cljs

(can-paste* config parent-id)
source

copyclj/smacro

(copy id-list)

Copies the given bookmarks into the clipboard.

|id-list| - An array of string-valued ids

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Copies the given bookmarks into the clipboard.

  |id-list| - An array of string-valued ids

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

copy*cljs

(copy* config id-list)
source

create-with-meta-infoclj/smacro

(create-with-meta-info bookmark meta-info)

Mimics the functionality of bookmarks.create, but will additionally set the given meta info fields.

|bookmark| - ? |meta-info| - ?

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Mimics the functionality of bookmarks.create, but will additionally set the given meta info fields.

  |bookmark| - ?
  |meta-info| - ?

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

create-with-meta-info*cljs

(create-with-meta-info* config bookmark meta-info)
source

cutclj/smacro

(cut id-list)

Cuts the given bookmarks into the clipboard.

|id-list| - An array of string-valued ids

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Cuts the given bookmarks into the clipboard.

  |id-list| - An array of string-valued ids

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

cut*cljs

(cut* config id-list)
source

dropclj/smacro

(drop parent-id)
(drop parent-id index)

Performs the drop action of the drag and drop session.

|parent-id| - The ID of the folder that the drop was made. |index| - The index of the position to drop at. If left out the dropped items will be placed at the end of the existing children.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Performs the drop action of the drag and drop session.

  |parent-id| - The ID of the folder that the drop was made.
  |index| - The index of the position to drop at. If left out the dropped items will be placed at the end of the existing
            children.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

drop*cljs

(drop* config parent-id index)
source

gen-callclj

source

gen-wrapclj/smacro

(gen-wrap kind item-id config & args)
source

get-meta-infoclj/smacro

(get-meta-info)
(get-meta-info id)
(get-meta-info id key)

Gets meta info from a bookmark node.

|id| - The id of the bookmark to retrieve meta info from. If omitted meta info for all nodes is returned. |key| - The key for the meta info to retrieve. If omitted, all fields are returned.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [value] where:

|value| - If a key was given, the value of the specified field, if present. Otherwise an object containing all meta info fields for the node. If id is not given then meta info for all nodes as an object with node id to meta info.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets meta info from a bookmark node.

  |id| - The id of the bookmark to retrieve meta info from. If omitted meta info for all nodes is returned.
  |key| - The key for the meta info to retrieve. If omitted, all fields are returned.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [value] where:

  |value| - If a key was given, the value of the specified field, if present. Otherwise an object containing all meta info
            fields for the node. If id is not given then meta info for all nodes as an object with node id to meta info.

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-meta-info*cljs

(get-meta-info* config id key)
source

get-redo-infoclj/smacro

(get-redo-info)

Gets the information for the redo if available.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets the information for the redo if available.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-redo-info*cljs

(get-redo-info* config)
source

get-stringsclj/smacro

(get-strings)

Gets the i18n strings for the bookmark manager.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets the i18n strings for the bookmark manager.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-strings*cljs

(get-strings* config)
source

get-subtreeclj/smacro

(get-subtree id folders-only)

Retrieves a bookmark hierarchy from the given node. If the node id is empty, it is the full tree. If foldersOnly is true, it will only return folders, not actual bookmarks.

|id| - ID of the root of the tree to pull. If empty, the entire tree will be returned. |folders-only| - Pass true to only return folders.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [results] where:

|results| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Retrieves a bookmark hierarchy from the given node.  If the node id is empty, it is the full tree.  If foldersOnly is true,
it will only return folders, not actual bookmarks.

  |id| - ID of the root of the tree to pull.  If empty, the entire tree will be returned.
  |folders-only| - Pass true to only return folders.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [results] where:

  |results| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-subtree*cljs

(get-subtree* config id folders-only)
source

get-undo-infoclj/smacro

(get-undo-info)

Gets the information for the undo if available.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [result] where:

|result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Gets the information for the undo if available.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [result] where:

  |result| - ?

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

get-undo-info*cljs

(get-undo-info* config)
source

on-drag-enter*cljs

(on-drag-enter* config channel & args)
source

on-drag-leave*cljs

(on-drag-leave* config channel & args)
source

on-drop*cljs

(on-drop* config channel & args)
source

on-meta-info-changed*cljs

(on-meta-info-changed* config channel & args)
source

pasteclj/smacro

(paste parent-id)
(paste parent-id selected-id-list)

Pastes bookmarks from the clipboard into the parent folder after the last selected node.

|parent-id| - ? |selected-id-list| - An array of string-valued ids for selected bookmarks.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Pastes bookmarks from the clipboard into the parent folder after the last selected node.

  |parent-id| - ?
  |selected-id-list| - An array of string-valued ids for selected bookmarks.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

paste*cljs

(paste* config parent-id selected-id-list)
source

record-launchclj/smacro

(record-launch)
source

record-launch*cljs

(record-launch* config)
source

redoclj/smacro

(redo)

Performs a redo of last undone change to the bookmark model.

Performs a redo of last undone change to the bookmark model.
sourceraw docstring

redo*cljs

(redo* config)
source

remove-treesclj/smacro

(remove-trees id-list)

Recursively removes list of bookmarks nodes.

|id-list| - An array of string-valued ids.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Recursively removes list of bookmarks nodes.

  |id-list| - An array of string-valued ids.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

remove-trees*cljs

(remove-trees* config id-list)
source

set-meta-infoclj/smacro

(set-meta-info id key value)

Sets a meta info value for a bookmark node.

|id| - The id of the bookmark node to set the meta info on. |key| - The key of the meta info to set. |value| - The meta info to set.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Sets a meta info value for a bookmark node.

  |id| - The id of the bookmark node to set the meta info on.
  |key| - The key of the meta info to set.
  |value| - The meta info to set.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

set-meta-info*cljs

(set-meta-info* config id key value)
source

sort-childrenclj/smacro

(sort-children parent-id)

Sorts the children of a given folder.

|parent-id| - The ID of the folder to sort the children of.

Sorts the children of a given folder.

|parent-id| - The ID of the folder to sort the children of.
sourceraw docstring

sort-children*cljs

(sort-children* config parent-id)
source

start-dragclj/smacro

(start-drag id-list drag-node-index is-from-touch)

Begins dragging a set of bookmarks.

|id-list| - An array of string-valued ids. |drag-node-index| - The index of the dragged node in |idList

|is-from-touch| - True if the drag was initiated from touch.

Begins dragging a set of bookmarks.

|id-list| - An array of string-valued ids.
|drag-node-index| - The index of the dragged node in |idList

|is-from-touch| - True if the drag was initiated from touch.
sourceraw docstring

start-drag*cljs

(start-drag* config id-list drag-node-index is-from-touch)
source

tap-all-eventsclj/smacro

(tap-all-events chan)

Taps all valid non-deprecated events in chromex.ext.bookmark-manager-private namespace.

Taps all valid non-deprecated events in chromex.ext.bookmark-manager-private namespace.
sourceraw docstring

tap-on-drag-enter-eventsclj/smacro

(tap-on-drag-enter-events channel & args)

Fired when dragging bookmarks over the document.

Events will be put on the |channel| with signature [::on-drag-enter [bookmark-node-data]] where:

|bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when dragging bookmarks over the document.

Events will be put on the |channel| with signature [::on-drag-enter [bookmark-node-data]] where:

  |bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-drag-leave-eventsclj/smacro

(tap-on-drag-leave-events channel & args)

Fired when the drag and drop leaves the document.

Events will be put on the |channel| with signature [::on-drag-leave [bookmark-node-data]] where:

|bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when the drag and drop leaves the document.

Events will be put on the |channel| with signature [::on-drag-leave [bookmark-node-data]] where:

  |bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-drop-eventsclj/smacro

(tap-on-drop-events channel & args)

Fired when the user drops bookmarks on the document.

Events will be put on the |channel| with signature [::on-drop [bookmark-node-data]] where:

|bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when the user drops bookmarks on the document.

Events will be put on the |channel| with signature [::on-drop [bookmark-node-data]] where:

  |bookmark-node-data| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

tap-on-meta-info-changed-eventsclj/smacro

(tap-on-meta-info-changed-events channel & args)

Fired when the meta info of a node changes.

Events will be put on the |channel| with signature [::on-meta-info-changed [id meta-info-changes]] where:

|id| - ? |meta-info-changes| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.

Fired when the meta info of a node changes.

Events will be put on the |channel| with signature [::on-meta-info-changed [id meta-info-changes]] where:

  |id| - ?
  |meta-info-changes| - ?

Note: |args| will be passed as additional parameters into Chrome event's .addListener call.
sourceraw docstring

undoclj/smacro

(undo)

Performs an undo of the last change to the bookmark model.

Performs an undo of the last change to the bookmark model.
sourceraw docstring

undo*cljs

(undo* config)
source

update-meta-infoclj/smacro

(update-meta-info id meta-info-changes)

Updates a set of meta info values for a bookmark node.

|id| - The id of the bookmark node to update the meta info of. |meta-info-changes| - A set of meta info key/value pairs to update.

This function returns a core.async channel of type promise-chan which eventually receives a result value. Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via chromex.error/get-last-error.

Updates a set of meta info values for a bookmark node.

  |id| - The id of the bookmark node to update the meta info of.
  |meta-info-changes| - A set of meta info key/value pairs to update.

This function returns a core.async channel of type `promise-chan` which eventually receives a result value.
Signature of the result value put on the channel is [].

In case of an error the channel closes without receiving any value and relevant error object can be obtained via
chromex.error/get-last-error.
sourceraw docstring

update-meta-info*cljs

(update-meta-info* config id meta-info-changes)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close