-
Notifications
You must be signed in to change notification settings - Fork 9
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
Custom Widgets API #87
Comments
Is NativeAPI |
Here some elaboration.
Also this API will be reaaaally usefull in new Corvus. I think we need to determine this API task more precisely. |
|
PS: I also wanna say that this API feature can make PlatypusJS more attractive tool for many people. Some custom widgets developed by community could bring more interest to platform. |
Update commentary.
Still I used |
For better understanding of each other, we need concrete examples of adaptors code. Let's discuss them and thus we will reach a clear point. I believe, that there is no need to develop adapter layers in an application at all, because any framework or UI library should be able to accept JavaScript objects regardless of theirs source. At this moment, Platypus UI is such UI library. On the other hand, since There are widgets in Platypus UI library without internal structure of Also, i want to make the point about desginer clear. Do you want Platypus.js to support third party widgets in its UI Factory at runtime and in palette and layout in designer? I think this feature is completely separate from Platypus UI library itself. Am i right? |
Recently @jskonst provided this good example of using placeholders as an alternative way of widgets customization.
I guess if second bullet is correct, so this exact issue is 80% solved. Another 20% is the first bullet which is still would be a great feature anyway if it will be done. But right now I am extremely interested in second bullet. So am I right about manual binding? |
Yes. You are absolutely right. The new branch |
UPD: Marat, about UI Factory and palette and stuff in designer: yes, that is exactly I was talking about. And I understand that it's complicated. But this would be great anyway. Just to be more clear I wanna say that by 3rd party widgets I meant not only exact 3rd party frameworks and libs, but also widgets made for platypus such as widget in example which @jskonst made. In this case 3rd party widget for me is any custom UI element with it's own markup and styles (and sometimes with behaviour) which can be plugged and used inside application. So this is first bullet in my recent comment. |
I believe that placeholders can cover needs of application UI developer in case of using third-party and external widgets. |
For long enough, yes. |
Add API for custom UI widgets
The text was updated successfully, but these errors were encountered: