Open artalar opened 6 years ago
Hey, sorry. Here it is https://github.com/krasimir/kuker#writing-your-own-emitter
You may group events by choosing same type
.
Ok, thx.
Can i nest events? For tree-like view
Sorry. That's not possible right now.
@krasimir I am trying sending the same type and they are not grouped, they just show different labels, is that normal?
window.postMessage(
{
kuker: true,
label: actionType + Math.random(),
origin: 'store',
payload: payload,
state: nextState,
time: (new Date()).getTime(),
type: actionType
},
'*'
);
Sorry, I wasn't clear when saying "group". It is a wrong term for that. By grouping I mean that those event may have their own color and Kuker displays them with same color. Not like they'll be nested into a single event (which by the way will be nice to implement).
Oh, my fault, in the examples I saw grouping-like logs and I thought that was the behaviour:
But now you say it's probably a combination of color change and manual indentation.
Thanks!
Yep. 👍
Hi! First of all thanks a lot for "kuker" - it's super easy and useful - add the custom emitter.
But u haven't any API section (besides example), can u add it?
My own main question - how can I group events?