diff options
author | Deniz Akşimşek <deniz@denizaksimsek.com> | 2023-09-03 10:48:41 +0300 |
---|---|---|
committer | Deniz Akşimşek <deniz@denizaksimsek.com> | 2023-09-03 10:56:31 +0300 |
commit | a0956eb4b3270f175af6c1e921f03ba17ecf8226 (patch) | |
tree | 6c9c1c1b07789c22f21d43c6b09c546a7c1a608b /www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js | |
parent | aff96c7b7b77eeb492895ed73abcf3dc22f6b5e7 (diff) | |
download | missing-a0956eb4b3270f175af6c1e921f03ba17ecf8226.tar.gz missing-a0956eb4b3270f175af6c1e921f03ba17ecf8226.zip |
simplify website
Diffstat (limited to 'www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js')
-rw-r--r-- | www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js b/www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js deleted file mode 100644 index 8ede3f4..0000000 --- a/www/releases/_artifacts/v1.0.4/missing-js/overflow-nav.js +++ /dev/null @@ -1,3 +0,0 @@ -import{$ as f,asHtml as g,attr as d,behavior as p,makelogger as m,on as l}from"./19.js";const w=m("overflow-nav"),a=p("[data-overflow-nav]",(t,{options:{expandedClass:o="expanded"}})=>{const e=g(f(t,"[data-nav-expander]"));if(e===null)return w("Expand toggle missing from navbar ",t);const c=()=>t.scrollWidth>t.clientWidth,r=()=>t.classList.contains(o),n=(s=!r())=>{s?(t.classList.add(o),d(e,"aria-pressed",!0),e.textContent="\xD7"):(t.classList.remove(o),d(e,"aria-pressed",!1),e.textContent="\u2630")},i=()=>{const s=e.hidden;e.hidden=!c(),s!=e.hidden&&n(!1)};l(e,"click",()=>n()),i(),l(window,"resize",()=>i(),{addedBy:t})});var h=a;a(document);export{h as default}; - -/*# sourceMappingURL=./overflow-nav.js.map */
\ No newline at end of file |