mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-20 02:18:38 +00:00
(fix) create key flow
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
# Toggle Selection
|
||||
|
||||
Simple module exposing function that deselects current browser selection and returns function that restores selection.
|
||||
|
||||
```
|
||||
var deselect = require('toggle-selection');
|
||||
var reselect = deselect(); // remove all selection
|
||||
// …
|
||||
// do something with current selection, text, etc;
|
||||
// …
|
||||
reselect(); // restore selection
|
||||
```
|
||||
|
||||
All credits go to [@shvaikalesh](https://github.com/shvaikalesh).
|
||||
|
||||
# [Example](https://github.com/sudodoki/toggle-selection/blob/master/example)
|
||||
|
||||

|
||||
Reference in New Issue
Block a user