expose APIs as public API

This commit is contained in:
Yanzhen Yu
2020-08-20 23:18:55 +08:00
parent b3c3947a2d
commit e905467852
4 changed files with 30 additions and 5 deletions

View File

@@ -26,6 +26,7 @@
autoPlay: false,
},
});
window.$c = component;
component.addEventListener('finish', () => console.log('finish'));
</script>
</html>