jumpto365-core
v0.0.7
Published
Core
Downloads
9
Readme
Jumpto365
Integrate jumpto365 Component into in any web site in or outside your organisation, internally or externaly
General Installation
<script>
var script =document.createElement("script")
var scripts = document.getElementsByTagName("script")[0]
script.src= "https://unpkg.com/jumpto365-core/umd/jumpto365-core.js"
scripts.parentNode.insertBefore(script,scripts)
</script>
Table
<script>
<div id="jumptoTableContainer" />
window.jumpto365core = window.jumpto365core ? window.jumpto365core : {q:[]}
window.jumpto365core.q.push({
cmd: "mount",
class: "TableContainer",
domId: "#jumptoTableContainer",
props: {
height: 300,
width: 400,
editMode:true
}
});
</script>
Tile Editor
<!-- Placeholder -->
<div id="jumptoTileEditor" />
<script>
window.jumpto365core = window.jumpto365core ? window.jumpto365core : {q:[]}
window.jumpto365core.q.push({cmd:"mount",class:"TileEditor",domId:"#jumptoTileEditor"})
</script>
More advanced usage with callback
<script>
function onSuccess(result) {}
function onError(error) {}
window.jumpto365core.q.push({
cmd: "mount",
class: "TileEditor",
domId: "#jumptoTileEditor",
onSuccess,
OnError
});
</script>
Commands
General
- onSuccess
- onError
mount
class
domId
props
<script>
window.jumpto365core.q.push({
cmd: "mount",
class: "TileEditor",
domId: "#jumptoTileEditor",
props: {}
});
</script>