Make `array-key` values toggleable
See original GitHub issueCurrently arrays are displayed with an array-key value, it would be great if this were something that could be toggled on and off via a prop so that we could display arrays as:
[
"one",
"two",
"three"
]
Instead of:
[
0: "one",
1: "two",
2: "three"
]
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:8 (1 by maintainers)
Top Results From Across the Web
How to toggle array values by their property value
For example having the following array I would like to toggle (button) all values that have property named a and/or b etc on...
Read more >How to toggle an item in a javascript array - DEV Community
So the idea here is having a function called toggle that we can call to redefine our array variable. Schema. The caller is...
Read more >How do I bind Toggle to an item in an array with ForEach?
I've got an array of BookItems, that I want to show in a List. Every item has the option to enable it with...
Read more >How to create key value array in javascript - LearnersBucket
Learn how to create a key value array in javascript. Use objects to create an associative array or use es6 map data structures....
Read more >Array.prototype.keys() - JavaScript - MDN Web Docs
The keys() method returns a new Array Iterator object that contains the keys for each index in the array.
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
@mac-s-g Assuming this hasn’t been resolved, I would like to make this change. I will send a PR soon. Are you willing to make another release if the change make sense?
Hoping this gets merged, as it would really clean up the data being displayed. Love the component!