We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58314b7 commit 1e71068Copy full SHA for 1e71068
packages/fast-html/src/components/template.ts
@@ -56,11 +56,22 @@ export const ObserverMapOption = {
56
export type ObserverMapOption =
57
(typeof ObserverMapOption)[keyof typeof ObserverMapOption];
58
59
+export const AttributeMapOption = {
60
+ all: "all",
61
+} as const;
62
+
63
+/**
64
+ * Type for the attributeMap element option.
65
+ */
66
+export type AttributeMapOption =
67
+ (typeof AttributeMapOption)[keyof typeof AttributeMapOption];
68
69
/**
70
* Element options the TemplateElement will use to update the registered element
71
*/
72
export interface ElementOptions {
73
observerMap?: ObserverMapOption;
74
+ attributeMap?: AttributeMapOption;
75
}
76
77
0 commit comments