|
|
@ -8,7 +8,8 @@ |
|
|
|
<body> |
|
|
|
<div id="layout"> |
|
|
|
<header> |
|
|
|
<h1>Onload event</h1> |
|
|
|
<h1>Onload event</h1> |
|
|
|
<p>Enter F12 open the develop tools</p> |
|
|
|
</header> |
|
|
|
<div class="editormd" id="test-editormd"> |
|
|
|
<script type="text/markdown">###Hello world!</script> |
|
|
@ -24,6 +25,7 @@ |
|
|
|
height : 720, |
|
|
|
path : '../lib/', |
|
|
|
onload : function() { |
|
|
|
alert("onload"); |
|
|
|
console.log("onload =>", this, this.id, this.settings); |
|
|
|
} |
|
|
|
}); |
|
|
|