# HG changeset patch # User Pantxo Diribarne # Date 1661790977 -7200 # Node ID bc385e42e09afa8aa77bab049976a87cf80914f3 # Parent 55415fa6a20fa6a35a6b86342445e06eae3f167e NEWS.8.md: Announce new legend property "itemhitfcn" * NEWS.8.md: Announce new legend property "itemhitfcn". diff -r 55415fa6a20f -r bc385e42e09a etc/NEWS.8.md --- a/etc/NEWS.8.md Mon Aug 29 16:36:34 2022 +0200 +++ b/etc/NEWS.8.md Mon Aug 29 18:36:17 2022 +0200 @@ -31,6 +31,9 @@ * `"innerposition"` (equivalent to `"position"`) * `"windowstate"` (not yet implemented) +- Legend now features a new property `"itemhitfcn"`, allowing the execution of a +callback function when a legend item is clicked. + ### Matlab compatibility - `inline` functions now support all Matlab methods. The performance