Controls: target single property as control inside an object
See original GitHub issueWhen we used the knobs
addon we could create knobs of an object’s property…
const timeTicks = {
Month: 'month',
Year: 'year',
Quarter: 'quarter'
};
...
props: {
config: {
xAxis: {
tickInterval: select('tickInterval', timeTicks, timeTicks.Month, 'config.xaxis'),
legend: true,
},
},
},
...
Which resulted in the following knob:
As you can see is this a property (tickInterval) inside an object (config) but with its own knob
, also it is grouped
inside config.xaxis
…
Are both options grouping
and a property inside an object as own control
possible using the new controls addon
??
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Set the target property of a Label to an object within a custom ...
Bindings can only be created to PROPERTIES. But the UI elements nested in UserControl are FIELDS. Try adding a property. XAML:
Read more >Control Class (System.Windows.Controls) - Microsoft Learn
Gets or sets a value indicating whether this element can be used as the target of a drag-and-drop operation. This is a dependency...
Read more >Accessing Controls Within a Cluster Using a Property Node - NI
Create a constant for the input located in the top called Target Class. Click on the constant and select Generic»GObject»Control»<Your control ...
Read more >Property accessors - JavaScript - MDN Web Docs - Mozilla
Property accessors provide access to an object's properties by using the dot notation or the bracket notation.
Read more >Controls - Storybook - JS.ORG
Controls do not require any modification to your components. Stories for controls are: Convenient. Auto-generate controls based on React/Vue/Angular/etc.
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 Free
Top 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
Forgot to mention that I use
angular
instead ofreact
…But I will see if I can get something like this to work 👍
Thanks!