Closed FichteFoll closed 1 year ago
After reading a bit more on the topic, I realized that this is not the way to go about it. The properties defined here do not properly get translated to the instance that is created when such a component is constructed.
See also:
No idea what is right or wrong anymore because typings of Vue constructors (basically anything involving defineComponent
) reads like magic.
It generally seems that the Multiselect
type as defined in Multiselect.d.ts
is lacking.
Version
Description
The exported
Multiselect
type does not have any API methods defined, only various$emit
overloads.Furthermore, from the source there appear to be a few more methods than are currently mentioned in the README, such as
focus
,activate
, orblur
.I have added the following to my project for now, but it would be nice to have a complete list of the intended public API upstream: