Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10 - Hold Shift and Check Checkboxes #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

changicho
Copy link
Member

?: 전역 변수를 사용해 checked 처리를 한꺼번에
각 checkbox마다 클릭할 때 checkboxes를 루프를 도는 이벤트 추가
시작점과 이전에 클릭한 지점 사이에 있는 checkbox를 체크함

두 지점 사이 범위값을 변경하는 것 이므로, 두 지점을 지날 때 전역
변수를 toggle해 특정 범위만 변경

?: 전역 변수를 사용해 checked 처리를 한꺼번에
각 checkbox마다 클릭할 때 checkboxes를 루프를 도는 이벤트 추가
시작점과 이전에 클릭한 지점 사이에 있는 checkbox를 체크함

두 지점 사이 범위값을 변경하는 것 이므로, 두 지점을 지날 때 전역
변수를 toggle해 특정 범위만 변경
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant