Comments (8)
ExpandAll()
functionality already exists in krumo by double clicking the footer of a krumo window. The part that says "called from...".
Implementing shift click might also be doable, I'll have to think about it. Do you want both functionalities, or is the double-click event enough?
from krumo.
Actually this is good code... I like your clique()
function. I'll implement this after we figure out the object traces in #29
from krumo.
I see double-click doesn't make the same thing, it expands all krumo on all the page.
I only want to unfold a sub-branch.
For example if you start on your example page with your krumos closed, and you shift+click the first krumo ("line 15"), it will unfold the Object TestException, the trace array and its item 0, but will not touch the second krumo with the array ("line 16").
from krumo.
That was a bug... I fixed it here:
http://www.perturb.org/tmp/krumo-test.php
This rolls both the shift+click and the exception tracing in to one demo. If it does what do you want I'll commit it.
from krumo.
Thanks
No, they don't do the same thing.
Shift+click must be available for each element which has children, only open / close all of its children, it does not impact the other lines or parent object.
For example, if i shift click the line Exceptiontrace, i want it to open/close fully (item 0 and its args, file, function, line), not to close the full Array.
from krumo.
@grippon been a couple years and I just re-read this. It was quiet at work today so I took a look at this request again. Writing vanilla javascript selectors is a pain, but I think I got it.
http://www.perturb.org/tmp/krumo-test.php
Tell if that does what you want it to
from krumo.
Code is in my repo here, if you want to test your own installation.
https://github.com/scottchiefbaker/krumo/tree/fix_countable
from krumo.
Addressed in the just released v0.6.0.
Note: It's ctrl + click (not shift)
from krumo.
Related Issues (20)
- Javascript bug in version 0.5.6 HOT 4
- Non-static method called statically HOT 14
- Typo in README.md "Usage" section example HOT 1
- Don't truncate after 50 characters HOT 5
- Undefined index: class:: HOT 7
- Update Packagist? HOT 3
- How to change skin? HOT 17
- krumo not showing private and protected properties HOT 2
- Is it possible to 'queue' so they can be displayed in bulk at once HOT 2
- Dropping VERSION file in favor of a class constant HOT 1
- Using a separate method for returning Krumo dumps instead using KRUMO_RETURN as argument HOT 1
- Drop the INSTALL file HOT 1
- Put composer.lock in .gitignore and drop it HOT 3
- Drop "@static" and "@access public" HOT 2
- Drop KRUMO_DIR, replace with __DIR__ HOT 1
- Change how configuration is operated HOT 2
- Krumo doesn't cleanly support PHP 8.1 HOT 4
- Deprecated warning in PHP 8.2.8 HOT 4
- Include handling of uninitialised objects in class HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from krumo.