As far as I can tell it seems like it's not possible to create our own implementation of functions of type:
customFunc : Remodel (One data Any) (Item result) -> Decoder data (List (Item result))
which is what CE.onMouseMove expects for its 2nd parameter, because both Remodel and Decoder don't have their constructors exposed.
So if I want to write a custom implementation of CE.getNearest, e.g. one that can return the n nearest items instead of just the single nearest one, how would I do that?
As far as I can tell it seems like it's not possible to create our own implementation of functions of type:
which is what
CE.onMouseMove
expects for its 2nd parameter, because bothRemodel
andDecoder
don't have their constructors exposed.So if I want to write a custom implementation of
CE.getNearest
, e.g. one that can return the n nearest items instead of just the single nearest one, how would I do that?