responsive app menu

This commit is contained in:
metacryst
2025-10-29 16:03:47 -05:00
parent 6d46875546
commit 0e36cd30cc
8 changed files with 104 additions and 76 deletions

View File

@@ -1,3 +1,9 @@
/* $ NAVIGATION */
window.navigateTo = function(url) {
window.history.pushState({}, '', url);
}
/* $ SELECTOR */
HTMLElement.prototype.$ = function(selector) {
@@ -761,6 +767,5 @@ HTMLElement.prototype.attr = function(attributes) {
for (const [key, value] of Object.entries(attributes)) {
this.setAttribute(key, value);
}
console.log(this)
return this;
};