jira-web-components
Version:
A web component library for JiRa
34 lines (26 loc) • 829 B
HTML
<html>
<head>
<meta charset="utf-8">
<link rel='stylesheet' href='../../global.css'>
<link rel='stylesheet' href='../../bundle.css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.css" />
<title>Preview Layout</title>
</head>
<body>
<jira-global-config
cors="http://localhost:4444"
safe="true"></jira-global-config>
<jira-boards project="SCS" id="jira-boards"></jira-boards>
<script>
addEventListener('DOMContentLoaded', function() {
var boards = document.getElementById('jira-boards');
console.log(boards);
boards.$on('jira-boards-loaded', function (e) {
console.log('getBoards', boards.getBoards(), e.detail);
});
});
</script>
<script type="text/javascript" src="../../bundle.js"></script>
</body>
</html>