Quantumbraid's picture
download
raw
347 Bytes
import{Keys as u}from'../components/keyboard.js';import{useEventListener as i}from'./use-event-listener.js';import{useIsTopLayer as f}from'./use-is-top-layer.js';function a(o,r=typeof document!="undefined"?document.defaultView:null,t){let n=f(o,"escape");i(r,"keydown",e=>{n&&(e.defaultPrevented||e.key===u.Escape&&t(e))})}export{a as useEscape};

Xet Storage Details

Size:
347 Bytes
·
Xet hash:
19281d0335e02863be497f3a0b5400d39fc23382584100be48f1c5eefee35369

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.