The clickSlice
object actually contains a reference to the internal object so it is not a good candidate for extension, and it also contains innerLabel
and label
that are the label configuration objects (as opposed to the actual label objects).
The one problem with insideLabel
on the event arguments is that at one point we might want to populate that whenever a slice is hovered (for example, when you hover the outer label, the inner shows hides/shows different text etc.).
Perhaps a enumeration clickOrigin
with three values: "slice", "insideLabel", "label"...