Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 61x 61x 60x 19x 19x 18x 18x | var client; init(); async function init() { client = await app.initialized(); client.events.on('app.activated', renderText); } async function renderText() { const textElement = document.getElementById('apptext'); const contactData = await client.data.get('contact'); const { contact: { name } } = contactData; textElement.innerHTML = `Ticket is created by ${name}`; } |