This commit is contained in:
@ -5,10 +5,13 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<button onclick='const details = document.querySelector("details");details.setAttribute("open", "");'>Open all</button>
|
||||
<button onclick='const details = document.querySelector("details");details.removeAttribute("open", "");'>Close all</button>
|
||||
<button onclick='openAll();'>Open all</button>
|
||||
<button onclick='closeAll();'>Close all</button>
|
||||
<h1>{{title}}</h1>
|
||||
{{content}}
|
||||
</div>
|
||||
<script>
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user