-
Hi,
compoent is a function returning an object, but following code fails:
demo2 failed |
Beta Was this translation helpful? Give feedback.
Answered by
sqllyw
Jun 12, 2023
Replies: 1 comment
-
looks like only object methods are available to the pview, not the prototype methods, following code works:
inc2 is an object method, inc is a prototype method, however changes to count is not reflected in the page, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
sqllyw
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
looks like only object methods are available to the pview, not the prototype methods, following code works:
inc2 is an object method, inc is a prototype method, however changes to count is not reflected in the page,
demo3 partially working