-
-
Notifications
You must be signed in to change notification settings - Fork 282
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
Description of createComponent*() method in component #1018
base: master
Are you sure you want to change the base?
Conversation
4f09db1
to
f06d83f
Compare
d6cc1ea
to
0a89bdb
Compare
898c3d5
to
2b23586
Compare
That’s actually how the page starts. There is an example with |
fcf6992
to
6c64b1f
Compare
On the start of the page https://doc.nette.org/cs/application/components#toc-tovarni-metody is described method createComponent() in presenter + But I mean something else - method createComponent() in UI\Control !! The documentation says you can add component into presenter using createComponent() in presenter. But you can use createComponent() also in UI\Control component to add a subcomponent into component. We should add to documentation tis important information - that this method can be used not only in presenter, but also in UI\Control component |
d08bd2a
to
cfaa617
Compare
The factory method is fully explained in Presenter chapter, but there is no description in Component chapter that this method can be used here also. This factory method is often used in components, for example for independently rendered forms.