1.0.2 • Published 4 years ago
native-js-modal v1.0.2
native-js-modal
This is simple modal for content
import { NativeModal } from 'native-js-modal';
import 'native-js-modal/dist/native-js-modal.css';
const modal = new NativeModal({
content: `hello world`,
destroyOnClose: true,
});
modal.show();
modal.content = 'hello world changed';
modal.close();
modal.destroy();