1.0.2 • Published 2 years ago
js-move-dom v1.0.2
Installation
use npm
npm install js-move-dom
using
import { moveModal } from 'js-move-dom'
moveModal(DOM)
"moveModal" receive only a parameter (DOM Element Obj), but this Dom Node has a required, which style "position" needs to be "absolute" or "fixed".