tram-lite icon indicating copy to clipboard operation
tram-lite copied to clipboard

Make shadowDOM options (like delegatesFocus) optional

Open JRJurman opened this issue 1 year ago • 0 comments

Summary

We should make the delegatesFocus (and potentially all other future options for components) optional, and part of the interface in the tl-definition.

This would look something like:

<template tl-definition tl-options="delegatesFocus">
  <!-- component definition -->
</template>

Alternatively, we could have dedicated attributes for the options (like tl-delegatesfocus).

In addition to this, we should have these as options for the export, and import (where the template tag won't be used).

JRJurman avatar Jan 24 '24 05:01 JRJurman