Procházet zdrojové kódy

docs: hooks example

Ryan Chandler před 4 roky
rodič
revize
72978b2778
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      examples/index.html

+ 8 - 0
examples/index.html

@@ -52,6 +52,14 @@
             Spruce.watch('persisted.example', () => {
                 console.log('World!');
             })
+
+            Spruce.starting(function () {
+                console.log('starting up...')
+            })
+
+            Spruce.started(function () {
+                console.log('started...')
+            })
         </script>
     </body>
 </html>