Add `disablemethod` flag to button and slider steps
See original GitHub issueAn emerging pattern for examples of sufficient complexity is that it’s becoming necessary to hook into components via events instead of strictly the command api interface. This might be the case if you have to, say, perform a couple precisely sequenced async actions before animating.
However, a problem with sliders, for example, is that bailing on specifying method
and args
as you normally would breaks the coupling that puts the slider in the correct position when you change the frame via some other pathway, like a play button.
I propose two things:
disablemethod
forupdatemenus
andsliders
buttons/steps that leaves everything else unaffected and just skips actually executing the method so that you can hook into an event and call it yourself in a more sophisticated way. Otherwise the behavior will be unaffected.- allow
null
for a method. Currently the supplydefaults enum blocks what seems like a legitimate usage when you just want a slider with no associated api call. (i.e. why have events if you can’t use them?)
/cc @etpinard @alexcjohnson @bpostlethwaite for what might need to be expedited feedback and fixes
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (18 by maintainers)
Top Results From Across the Web
DISABLE( ) method - Progress Documentation
Disables the radio set button. The selected radio-set button's SCREEN-VALUE is changed to the first enabled radio set button or to the Unknown...
Read more >How to disable or enable buttons using Javascript and jQuery
Learn how to enable or disable buttons using javascript and jQuery based on whether the input field is filled or empty.
Read more >ui.slider, API Reference Webix Docs
Horizontal or vertical slider for choosing numeric values from a range of predefined ones. The control allows changing numeric data by dragging a...
Read more >Binding Functions and Enable/Disable State in HTML Buttons ...
One such user experience technique is telling the user that something is happening or is loading in the background when a button is...
Read more >Enable or Disable Your Flags - Harness.io Docs
In your Harness Project, go to Feature Flags. A list of all your Flags is displayed. Toggle the button next to the Flag...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ohhhh, I see your point. Got it. Yeah, then I like
skip
.Right. But there would be no way to restyle it to that value. In other words, there are no
null
values in any of our attribute declarations for a reason. Actually, that’s a lie, there are fewnull
like incontour.start
but they mean this default value is auto-computed not this default value isnull
.