Title: clarify usage of Toggle::inputMode::input_pulldown versus setInverted · Issue #2 · Dlloydev/Toggle · GitHub
Open Graph Title: clarify usage of Toggle::inputMode::input_pulldown versus setInverted · Issue #2 · Dlloydev/Toggle
X Title: clarify usage of Toggle::inputMode::input_pulldown versus setInverted · Issue #2 · Dlloydev/Toggle
Description: Hi it's unclear how you would use setInputMode(Toggle::inputMode::input_pulldown) versus setInputInvert(true) working exemple here with setInputInvert and messing around with the pin state after the begin (which means I overwrite likely ...
Open Graph Description: Hi it's unclear how you would use setInputMode(Toggle::inputMode::input_pulldown) versus setInputInvert(true) working exemple here with setInputInvert and messing around with the pin state after th...
X Description: Hi it's unclear how you would use setInputMode(Toggle::inputMode::input_pulldown) versus setInputInvert(true) working exemple here with setInputInvert and messing around with the pin state afte...
Opengraph URL: https://github.com/Dlloydev/Toggle/issues/2
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"clarify usage of Toggle::inputMode::input_pulldown versus setInverted","articleBody":"Hi\r\n\r\nit's unclear how you would use `setInputMode(Toggle::inputMode::input_pulldown)` versus `setInputInvert(true)`\r\n\r\nworking exemple here with setInputInvert and messing around with the pin state after the begin (which means I overwrite likely what the class has done to the pin which requires intimate knowledge of the library to know in which order to do things)\r\n\r\nhttps://wokwi.com/projects/347839208139784788\r\n\r\n\r\nRequest: \r\n- how would you use setInputMode() and not have to mess around in the code with pinMode?\r\n- improvement: possibility to establish the inputMode at constructor level\r\n","author":{"url":"https://github.com/JM-FRANCE","@type":"Person","name":"JM-FRANCE"},"datePublished":"2022-11-09T10:41:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2/Toggle/issues/2"}
| 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:18175706-c4b7-21e6-299b-43ed8e0e62e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D486:234195:16E9051:1FB3106:698CC5BA |
| html-safe-nonce | a129648b903d4b03a4c53bb1f356d14741b84fef61808cb2bae4f19cccc2a4e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENDg2OjIzNDE5NToxNkU5MDUxOjFGQjMxMDY6Njk4Q0M1QkEiLCJ2aXNpdG9yX2lkIjoiNDI1MDMxNzQ2NjMwMTY3OTAzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6c826d9183ebd209686235402519254a234f0144c105357c7e33ec3e9f764a3c |
| hovercard-subject-tag | issue:1441852678 |
| 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/Dlloydev/Toggle/2/issue_layout |
| twitter:image | https://opengraph.githubassets.com/81f419ab0b0b2ec86ba24d438a446384be96a4ac14ebe860a8d9d297933697a2/Dlloydev/Toggle/issues/2 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/81f419ab0b0b2ec86ba24d438a446384be96a4ac14ebe860a8d9d297933697a2/Dlloydev/Toggle/issues/2 |
| og:image:alt | Hi it's unclear how you would use setInputMode(Toggle::inputMode::input_pulldown) versus setInputInvert(true) working exemple here with setInputInvert and messing around with the pin state after th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JM-FRANCE |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/Dlloydev/Toggle git https://github.com/Dlloydev/Toggle.git |
| octolytics-dimension-user_id | 63488701 |
| octolytics-dimension-user_login | Dlloydev |
| octolytics-dimension-repository_id | 488352380 |
| octolytics-dimension-repository_nwo | Dlloydev/Toggle |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 488352380 |
| octolytics-dimension-repository_network_root_nwo | Dlloydev/Toggle |
| 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 | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width