Extending existing TButton component #813
Unanswered
lamisofteu
asked this question in
Q&A
Replies: 2 comments 2 replies
-
If you extended TButton and created a new component MyButton then in template you need to use <com:MyButton DataToggle=""/> and not TButton |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, thank you for reply. Because I need this component only for my private purposes, I modified existing component TButton. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I need extend TButton component with "data-toggle" and "data-target" attributes. I created get* and set* functions, modified "addAttributesToRender()" function, but application still can't parse file with .PAGE extension with modified component in format <com:TButton DataToggle="" />.
Can anybody help?
Beta Was this translation helpful? Give feedback.
All reactions