UNPKG

derby

Version:

MVC framework making it easy to write realtime, collaborative applications that run in both Node.js and browsers.

8 lines (7 loc) 302 B
<dropdown:> <!-- a :self path alias is automatically created per component --> <!-- x-as can be used to pass a reference to an element to the script --> <div x-as="container" class="{#if :self.open}open{/}"> <button x-bind="click: clickButton">{{{value}}}</button> <menu></menu> </div>