Written by
angular-style
on
on
페이지 로딩 후 스크립트 적용
페이지 로딩 후 스크립트 적용
angular 쓰면서..
데이터 로딩 완료 시점을 찾고 싶었다.
$(document.ready)() 는 데이터가 바인딩 되기 이전.
$(window).load() 는 데이터 바인딩 된 후 호충
$(document).ready(function() {
if(confirm("test")){
}
});
$(window).load(function() {
if(confirm("test2")){
}
});
참조 : http://tech-blog.maddyzone.com/javascript/document-ready-vs-window-load-vs-window-onload
from http://kkani.tistory.com/523 by ccl(S) rewrite - 2021-10-27 22:00:50