program calendar - open two first months
This commit is contained in:
parent
09a7d48a31
commit
ee2d1c66cd
3 changed files with 28 additions and 3 deletions
|
|
@ -1,5 +1,8 @@
|
|||
<?php
|
||||
$open = $open ?? false;
|
||||
?>
|
||||
<section class="collapsable" x-data="{
|
||||
open: false,
|
||||
open: <?= var_export($open) ?>,
|
||||
openSection(event) {
|
||||
const section = event.target.closest('.collapsable')
|
||||
section.querySelectorAll('[tabindex]').forEach(item => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue