We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
바텀시트 핸들바를 잡고 늘였다 줄였다 할 수 있도록 기능을 추가한다.
const textarea = document.querySelector('.resizable-textarea'); const handle = document.querySelector('.resizable-textarea::after'); let isResizing = false; handle.addEventListener('mousedown', (e) => { isResizing = true; }); document.addEventListener('mouseup', () => { isResizing = false; }); document.addEventListener('mousemove', (e) => { if (isResizing) { textarea.style.width = e.pageX - textarea.offsetLeft + 'px'; textarea.style.height = e.pageY - textarea.offsetTop + 'px'; } });
The text was updated successfully, but these errors were encountered:
hyerindev
No branches or pull requests
✔️ 작업 내용
바텀시트 핸들바를 잡고 늘였다 줄였다 할 수 있도록 기능을 추가한다.
다음의 코드 참고
💬 기타
The text was updated successfully, but these errors were encountered: