Title: More concise`dom_node` and `ref` handling for jquery · Issue #62 · hyperstack-org/hyperstack · GitHub
Open Graph Title: More concise`dom_node` and `ref` handling for jquery · Issue #62 · hyperstack-org/hyperstack
X Title: More concise`dom_node` and `ref` handling for jquery · Issue #62 · hyperstack-org/hyperstack
Description: currently you can grab a components ref mapped to jquery using the dom keyword: INPUT(dom: set(:_input) ... ) it works just like ref, but the resulting value is wrapped by jQuery. however if you say self.dom_node you get your own ref, an...
Open Graph Description: currently you can grab a components ref mapped to jquery using the dom keyword: INPUT(dom: set(:_input) ... ) it works just like ref, but the resulting value is wrapped by jQuery. however if you sa...
X Description: currently you can grab a components ref mapped to jquery using the dom keyword: INPUT(dom: set(:_input) ... ) it works just like ref, but the resulting value is wrapped by jQuery. however if you sa...
Opengraph URL: https://github.com/hyperstack-org/hyperstack/issues/62
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More concise`dom_node` and `ref` handling for jquery","articleBody":"currently you can grab a components ref mapped to jquery using the `dom` keyword:\r\n\r\n`INPUT(dom: set(:_input) ... )`\r\n\r\nit works just like `ref`, but the resulting value is wrapped by jQuery.\r\n\r\nhowever if you say `self.dom_node` you get your own ref, and if you want jQuery you say `DOM[dom_node]`\r\n\r\nSeems not very symmetrical.\r\n\r\nI am suggesting we do something like this:\r\n\r\n`dom` keyword -\u003e jQuery wrapped reference\r\n`ref` keyword -\u003e reference\r\n\r\n`self.dom` -\u003e jQuery wrapped reference to self\r\n`self.ref` -\u003e straight dom reference to self.\r\n\r\nand that is the problem ... its sort of backwards.\r\n\r\nSo alternative proposal:\r\n\r\n`dom` keyword is synonym for `ref`\r\n`jq` keyword is `ref/dom` wrapped by jquery\r\n\r\nlikewise `self.dom` is ref to yourself and\r\n`self.jq` is your self wrapped by jquery\r\n\r\nAny other ideas for a pair of names that could be used consistently in both places?\r\n","author":{"url":"https://github.com/catmando","@type":"Person","name":"catmando"},"datePublished":"2018-11-16T06:10:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/62/hyperstack/issues/62"}
| 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:de8f6598-efac-7faf-f4f5-a321a7961654 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF66:112275:22E45B0:2C4A05B:69919D41 |
| html-safe-nonce | 32c1f9eb2ebac69d904905b0a1a837871da39bef89763495f37c2fa80550a2c7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjY2OjExMjI3NToyMkU0NUIwOjJDNEEwNUI6Njk5MTlENDEiLCJ2aXNpdG9yX2lkIjoiMjA5MTYxMTkyNzc1MTAwNzU1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 77abc2764f242451964820c8f2145154db03f40a2cf2a45e62ee68513d00fa17 |
| hovercard-subject-tag | issue:381460962 |
| 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/62/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b06eb50913c925466e6cdf3f4c01a0b6827cda2dad19b260f527003c2f860c68/hyperstack-org/hyperstack/issues/62 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b06eb50913c925466e6cdf3f4c01a0b6827cda2dad19b260f527003c2f860c68/hyperstack-org/hyperstack/issues/62 |
| og:image:alt | currently you can grab a components ref mapped to jquery using the dom keyword: INPUT(dom: set(:_input) ... ) it works just like ref, but the resulting value is wrapped by jQuery. however if you sa... |
| 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 | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width