13 lines
277 B
JavaScript
Raw Permalink Normal View History

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