mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
hinting: document pipe() and pipe_elements()
This commit is contained in:
parent
d0a0e79e35
commit
9714dd0ce2
1 changed files with 2 additions and 0 deletions
|
@ -729,6 +729,7 @@ export function killables() {
|
|||
])
|
||||
}
|
||||
|
||||
/** HintPage wrapper, accepts CSS selectors to build a list of elements */
|
||||
export function pipe(
|
||||
selectors = DOM.HINTTAGS_selectors,
|
||||
action: HintSelectedCallback = _ => _,
|
||||
|
@ -740,6 +741,7 @@ export function pipe(
|
|||
})
|
||||
}
|
||||
|
||||
/** HintPage wrapper, accepts array of elements to hint */
|
||||
export function pipe_elements(
|
||||
elements: any = DOM.elementsWithText,
|
||||
action: HintSelectedCallback = _ => _,
|
||||
|
|
Loading…
Add table
Reference in a new issue