This repository has been archived by the owner. It is now read-only.
Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Keybindings for d3


# d3.keybinding()

Returns a keybinding object that can be used with .call to provide bindings on selections.

The keybinding object exposes .on() for common keycodes and dispatches events with arguments [d3.event, modifiers] in which modifiers is a string which can include , , , ⌘'.

Keystroke events on input areas (<input>, <select>, and <textarea>) are not caught.