14 lines
313 B
JavaScript
Raw Normal View History

2025-01-12 20:00:13 +01:00
export class TextRollManager {
static async createRollText(template, param, showLink = true) {
return await renderTemplate(template, {
param: param,
options: { showlink: showLink }
})
}
static getNode(event) {
return $(event.currentTarget)?.parents(".roll-text-link");
}
}