forked from phoenix/litellm-mirror
(fix) create key flow
This commit is contained in:
parent
fae935cdb2
commit
d3e72e1c3b
144 changed files with 53398 additions and 50 deletions
16
node_modules/toggle-selection/example/demo.js
generated
vendored
Normal file
16
node_modules/toggle-selection/example/demo.js
generated
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
var selection = document.getSelection();
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function(event) {
|
||||
setTimeout(function() {
|
||||
if (!selection.rangeCount) { // for demo purposes only
|
||||
return;
|
||||
}
|
||||
reselect = module.exports();
|
||||
setTimeout(function() {
|
||||
reselect();
|
||||
console.log('reselected');
|
||||
}, 1000);
|
||||
|
||||
console.log('deselected');
|
||||
}, 2000);
|
||||
});
|
26
node_modules/toggle-selection/example/index.html
generated
vendored
Normal file
26
node_modules/toggle-selection/example/index.html
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Example Page</title>
|
||||
<script src="../index.js"></script>
|
||||
<script src="demo.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<textarea cols="30" rows="10">Some random stuff.</textarea>
|
||||
<textarea cols="30" rows="10">Some random stuff.</textarea>
|
||||
<textarea cols="30" rows="10">Some random stuff.</textarea>
|
||||
<div contentEditable>Some random stuff.</div>
|
||||
<input value="Some random stuff.">
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
Aenean commodo ligula eget dolor. Aenean massa.
|
||||
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
|
||||
Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.
|
||||
Nulla consequat massa quis enim.
|
||||
Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
|
||||
In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.
|
||||
Nullam dictum felis eu pede mollis pretium. Integer tincidunt.
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue