-
Notifications
You must be signed in to change notification settings - Fork 9
Home
Andrew Terentev edited this page Sep 10, 2021
·
2 revisions
Welcome to the FormConstructor wiki!
This library is designed to simplify the creation and handling of forms. It has a few key advantages over other form libraries:
- Forms are processed using a lambda, which is passed when the form itself is created, and not by catching events.
- For each button we can set a lambda function in SimpleForm.
- In SimpleForm we get a button object as a response, where we can get its text and index.
- In CustomForm we can mark elements with an identifier to conveniently get this element in its handler. We can get element by id and its index.
For using this library you need Nukkit(or its forks) with API not less than 1.0.9
.