Add scripts
Modal will show after create.
...
<link rel="stylesheet" href="https://panda.sansiri.com/dist/css/styles.css" />
<script src="https://panda.sansiri.com/dist/js/bundle.js"><script>
<script>
const option = {
language: 'th', //en-us, th, zh-hant
jsonUrl: '',
showOption: 'false', //true, false
}
function callback(res) {
alert(JSON.stringify(res))
}
function handleError(err) {
alert(JSON.stringify(err))
}
panda.modal.createAndShow(identifier, option, callback, handleError)
<script>
...