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
현재 선택된 dom 의 부모를 기준으로 형제(sibling) Node 전후로 갈 수 있도록 구현
as-is
const currentImage = e.$dt.closest('image-item'); const $parent = currentImage.parent(); $parent.el.insertBefore(currentImage.el, currentImage.el.previousSibling)
to-be
$currentImage.movePrev();
const currentImage = e.$dt.closest('image-item'); const $parent = currentImage.parent(); const next = currentImage.el.nextSibling $parent.el.insertBefore(currentImage.el, next ? next.nextSibling : null)
$currentImage.moveNext();
The text was updated successfully, but these errors were encountered:
easylogic
No branches or pull requests
현재 선택된 dom 의 부모를 기준으로 형제(sibling) Node 전후로 갈 수 있도록 구현
prev
as-is
to-be
next
as-is
to-be
The text was updated successfully, but these errors were encountered: