jive-sdk
Version:
Node.js SDK for Jive Software to assist with the development of add-ons
27 lines (19 loc) • 619 B
HTML
<html>
<body>
<div class="j-card">
<button id="btn_submit">Configure</button>
</div>
<script type="text/javascript">
jive.tile.onOpen(function(config, options ) {
gadgets.window.adjustHeight();
if ( typeof config === "string" ) {
config = JSON.parse(config);
}
$("#btn_submit").click( function() {
jive.tile.close(config, {} );
gadgets.window.adjustHeight(300);
});
});
</script>
</body>
</html>