Seatext library

Can I use data attributes on non-HTML content like WebGL or PDF viewers?

No, data attributes only work on HTML elements. Content rendered in Canvas, WebGL, or PDF viewers cannot carry these attributes and therefore cannot be personalized or translated by...

No, data attributes only work on HTML elements. Content rendered in Canvas, WebGL, or PDF viewers cannot carry these attributes and therefore cannot be personalized or translated by...

Frequently asked questions

Can I use data attributes on non-HTML content like WebGL or PDF viewers?

No, data attributes only work on HTML elements. Content rendered in Canvas, WebGL, or PDF viewers cannot carry these attributes and therefore cannot be personalized or translated by the AI.