Comments (5)
@danielhgasparin If you are good at typescript definitions, please review #19
from multiselect.
@adamberecz I can confirm that Vetur won't give any useful info for custom component in components
, that was surprising me too...
For the moment I could suppress the ts complier error by adding a declaration for the package.
declare module '@vueform/multiselect' {}
But, still I'm looking forward it can be typescriptized, because this is the best vue3 mutiselect component I can find in the market :) Thanks for the great work really !
from multiselect.
Approved. I'm not an expert in Typescript, but tested on my project and worked well.
I didn't validate every properties and events of the component, though. But the typescript and intelisense recognized the type and compiled well.
from multiselect.
I'm wondering will this project switch to ts in the near future? nowadays ts is a must have option I think.
from multiselect.
Help me out here. If Typescript is added sure it helps the development of the library, but what's in it for the end user? I'm trying to test this implementation in VSCode with Vetur but a) it does not suggest properties when using the component in <template>
b) it doesn't throw a compile error when defining invalid props (except for the built-in Vue prop typechecking at runtime). So what's the point? The only benefit I can see is this. Is that all?
from multiselect.
Related Issues (20)
- trackBy no longer accept array of strings
- Selecting an option from the dropdown triggers parent elements click event handlers HOT 1
- Add option to blur after selection
- refreshOptions doesn't seem to be working HOT 1
- No types on scoped slotes HOT 1
- Slot is "grouplabel", but type is "groupLabel" HOT 1
- "noresults" slot not working HOT 3
- Cannot read properties of null (reading 'querySelectorAll') HOT 2
- Blur when option have a lot in mac os
- Different clearIcon svg fill color for dark and light mode HOT 2
- focus() issue HOT 1
- Missing methods in Multiselect type
- Add focus/blur event emits HOT 1
- Clicking the clear icon
- Typescript Build Error HOT 1
- can't add option with space in mobile
- Opening disabled input
- Select does not scroll to selected item when the list is large HOT 2
- `getOption` does not work when `value` is an object. HOT 1
- Empty values in createOption with trimmed value HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multiselect.