mirror of
https://github.com/qlik-oss/nebula.js.git
synced 2025-12-19 17:58:43 -05:00
15 lines
337 B
JavaScript
15 lines
337 B
JavaScript
import { connect } from './connect';
|
|
|
|
const ul = document.querySelector('#apps ul');
|
|
|
|
connect().then((qix) => {
|
|
qix.getDocList().then((list) => {
|
|
const items = list.map((doc) => `
|
|
<li>
|
|
<a href="/dev/app/${encodeURIComponent(doc.qDocId)}">${doc.qTitle}</a>
|
|
</li>`).join('');
|
|
|
|
ul.innerHTML = items;
|
|
});
|
|
});
|