Title: add #ref method to Element class · Issue #111 · hyperstack-org/hyperstack · GitHub
Open Graph Title: add #ref method to Element class · Issue #111 · hyperstack-org/hyperstack
X Title: add #ref method to Element class · Issue #111 · hyperstack-org/hyperstack
Description: you should be able to say this: name = INPUT(defaultValue: @Participant.name, placeholder: 'your name') .... # and in some event handler name.ref what will happen is all components will have a ref that sets an internal variable in the hy...
Open Graph Description: you should be able to say this: name = INPUT(defaultValue: @Participant.name, placeholder: 'your name') .... # and in some event handler name.ref what will happen is all components will have a ref ...
X Description: you should be able to say this: name = INPUT(defaultValue: @Participant.name, placeholder: 'your name') .... # and in some event handler name.ref what will happen is all components will hav...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/111
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add #ref method to Element class","articleBody":"you should be able to say this: \r\n```ruby\r\n name = INPUT(defaultValue: @Participant.name, placeholder: 'your name')\r\n ....\r\n # and in some event handler\r\n name.ref \r\n```\r\n\r\nwhat will happen is *all* components will have a ref that sets an internal variable in the hyperstack Element instance.\r\n\r\nIf you use old style ref, this will simply overwrite the default ref callback, and elements ref will not get set.\r\n","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2019-01-25T19:08:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/111/hyperstack/issues/111"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ea3c51dd-a862-139b-5b7c-e98e49663448 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF18:178552:142AEFC:19CE89A:69919D3C |
| html-safe-nonce | d6895f637346e7f100889f5c39d20e8e219991853c2e069d000fae28124addbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjE4OjE3ODU1MjoxNDJBRUZDOjE5Q0U4OUE6Njk5MTlEM0MiLCJ2aXNpdG9yX2lkIjoiODY4MzE0NjI1ODk1MTU0NDEyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8c6902b988001b376a6bfdd799cdec28d050af7a727178900320264a4589f601 |
| hovercard-subject-tag | issue:403294473 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/hyperstack-org/hyperstack/111/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3a8140fa9edd33961ed7c8957d1fed8b46f985f14fe2241bdd83479896d92e58/hyperstack-org/hyperstack/issues/111 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3a8140fa9edd33961ed7c8957d1fed8b46f985f14fe2241bdd83479896d92e58/hyperstack-org/hyperstack/issues/111 |
| og:image:alt | you should be able to say this: name = INPUT(defaultValue: @Participant.name, placeholder: 'your name') .... # and in some event handler name.ref what will happen is all components will have a ref ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catmando |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/hyperstack-org/hyperstack git https://github.com/hyperstack-org/hyperstack.git |
| octolytics-dimension-user_id | 34562730 |
| octolytics-dimension-user_login | hyperstack-org |
| octolytics-dimension-repository_id | 145879576 |
| octolytics-dimension-repository_nwo | hyperstack-org/hyperstack |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 145879576 |
| octolytics-dimension-repository_network_root_nwo | hyperstack-org/hyperstack |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width