{"repo":"dresnite/easyui","free":true,"listed":false,"github":"https://github.com/dresnite/easyui","clone":"git clone https://github.com/dresnite/easyui.git","description":"📖 An intuitive and easy-to-use form library for PocketMine-MP","language":"PHP","stars":28,"topics":["pmmp","pocketmine","minecraft","pocketmine-mp-plugin","mcpe"],"license":"LGPL-3.0","category":"game-templates","readme_excerpt":"EasyUI EasyUI is an intuitive and easy-to-use form library for PocketMine-MP. Designed to let you focus on your project and not on how the library works. Download You can download the virion in Poggit. Code examples General rules All the closures passed to EasyUI classes must declare a variable of the class Player as first and only argument, except for the CustomForm submit listener, which also requires FormResponse as second parameter. SimpleForm Creating a form with a button without an icon: Creating a form with a button with an icon: Creating a form with a header text (optional): Controlling what happens when a form closes (optional): ModalForm Creating a modal form and handling what happens when the player presses \"accept\" or \"deny\": You can also change the text of the buttons: CustomForm Creating a custom form with an input and a dropdown Object oriented approach In some cases, the forms are huge and mess up the code. In those cases, you can use a more object oriented approach to keep the code as clean as possible. SimpleForm ModalForm NOTE : onCreation() is also available on ModalForms. CustomForm Then you can send the forms as you normally would with:","default_branch":null,"files":null,"tree":[],"storefront":"/r/dresnite","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dresnite/easyui/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}