KeyboardUI / Keyboard_UI

Keyboard inspired UI Kit!
MIT License
17 stars 4 forks source link

Select checkbox with Enter #9

Closed wisniewski94 closed 5 years ago

wisniewski94 commented 5 years ago

Add hit ENTER key to select checkbox feature.

vijaykrishna536 commented 5 years ago

@wisniewski94 Correct me If I'm wrong is this feature to be included from scratch or we have to make changes to an existing code? If the later one is true then can you tell me exactly where in the project structure those files exist

wisniewski94 commented 5 years ago

@vijaykrishna536 I'm sorry for the mess in project structure, I will clean this up later this day.

Source js and sass files are inside src folder. Dist is used by npm users. /js is a garbage right now or its being used by /test (as I said I need to clean this up)

If you have an idea how to solve this issue then you should focus on src directory and gulp tasks gulp watch and gulp build. All js should be inside ./src/keyui.js

Use vanilla JS. ES6 allowed ;)

Thank you for your interest in this :)

EDIT: I'm talking about develop branch

wisniewski94 commented 5 years ago

Done, updated README.MD a bit aswell.

Shivam2498 commented 5 years ago

If you can explain what to do, can I take this?

wisniewski94 commented 5 years ago

Sure, when checkbox is focused, when you press enter button it should get checked but form shouodn't be submited

wisniewski94 commented 5 years ago

Meh, missclick, I will reopen this issue later