modal

[JavaScript] Bootstrap Modal 닫힘 방지 방법 Modal 밖 영역 눌렀을 때 자동 닫힘 방지 방법1. HTML 방법2. JavaScript $('#modal').modal({ backdrop: 'static' }) 키보드 ESC 눌렀을 때 자동 닫힘 방지 ( KeyEvent 방지 ) 방법1. HTML 방법2. JavaScript $('#modal').modal({ keyboard: false }) [참고] https://stackoverflow.com/questions/16152073/prevent-bootstrap-modal-from-disappearing-when-clicking-outside-or-pressing-esca
· WEB/Electron
[Electron] 자식창(Child Window) 자식창은 부모창 위에 보여진다. 자식창을 선언 할 때, parent: 부모창를 입력하여 부모의 자식임을 선언한다. 기본적으로 createWindow시 부모창과 자식창 모두 선언해 준다. 아래와 같이 입력하면 앱을 실행할 때 자식창과 부모창 모두 표시된다. let win; // 부모 let child; // 자식 function createWindow() { // 부모 창 선언 win = new BrowserWindow({ width: 1400, height: 1000, webPreferences: { nodeIntegration: true } }); // 자식 창 선언 child = new BrowserWindow({ parent: win, width:..
S0PH1A
'modal' 태그의 글 목록