We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do i change the value from a var from pug with javascript?
mixin header(items) - var isEnabledDropdown = Boolean(profile?.username) - var title = process.env.APP_NAME header if isEnabledDropdown //- +dropdown(items, title) - var isOpenedSideSection = false nav.row.flex-between.svg-clickable h2(onclick="goToHome()").nav-title #{title} +hamburguer-icon("40px", "40px", "openSideSection()") +side-section(isOpenedSideSection, 'header') ul if items for item in items li.common-header-item a(href=item.href) #{item.label} script. function openSideSection() { console.log(#{isOpenedSideSection}) // <- This work - var isOpenedSideSection = true // <- Doesnt work :( }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How do i change the value from a var from pug with javascript?
The text was updated successfully, but these errors were encountered: