1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-08-06 17:41:01 +00:00

Extract Sticky Nav controller

This commit is contained in:
Yassine Guedidi 2025-03-08 14:56:53 +01:00
parent 2054be7bd4
commit c9cfae11f7
4 changed files with 13 additions and 11 deletions

View file

@ -0,0 +1,7 @@
import { Controller } from '@hotwired/stimulus';
export default class extends Controller {
toggle() {
this.element.classList.toggle('entry-nav-top--sticky');
}
}