-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
widget type in decorator #7
Comments
What do you mean by "widget type"? Is it the choice of some styles to display on frontend? |
No. A slider is a widget. A radio button is a widget. |
We currently support the widget type. For example: @textea_export(
a={
"treat_as": "config",
"widget": ["switch"]
}
...
) This will render The widget syntax is: For example: It means that the top-level widget is And you can customize the widget style corresponding to the basic type by setting the theme, for example:
It means |
Can we allow users to specify the widget type in the decorator?
The text was updated successfully, but these errors were encountered: