Liking cljdoc? Tell your friends :D

chromex.ext.bookmark-manager-private

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

api-tableclj

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

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-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

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

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

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

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 x y)

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. |x| - The clientX of the dragStart event |y| - The clientY of the dragStart event

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.
|x| - The clientX of the dragStart event
|y| - The clientY of the dragStart event
sourceraw docstring

start-drag*cljs

(start-drag* config id-list drag-node-index is-from-touch x y)
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

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

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

× close