-<!DOCTYPE html><html lang="en"><head><meta name="description" content="Created by #Describe TestGadget v 8.0"><meta charset="utf-8"><title>World in lists - Describe Compiler v0.9</title><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="author" content=""><style>.listree-submenu-heading{cursor:pointer}ul.listree{list-style:none}ul.listree-submenu-items{list-style:none;border-left:1px dashed #000;white-space:nowrap;margin-right:4px;padding-left:20px}div.listree-submenu-heading.collapsed:before{content:"+";margin-right:4px}div.listree-submenu-heading.expanded:before{content:"-";margin-right:4px}.scrollable-menu{height:auto;max-width:800px;overflow-y:hidden}</style></head><body>{DATA}<script>!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).listree=t()}(this,(function(){"use strict";return function(){const e=document.getElementsByClassName("listree-submenu-heading");Array.from(e).forEach((function(e){e.classList.add("collapsed"),e.nextElementSibling.style.display="none",e.addEventListener("click",(function(t){t.preventDefault();const n=t.target.nextElementSibling;"none"==n.style.display?(e.classList.remove("collapsed"),e.classList.add("expanded"),n.style.display="block"):(e.classList.remove("expanded"),e.classList.add("collapsed"),n.style.display="none"),t.stopPropagation()}))}))}}));listree();</script></body></html>
0 commit comments