We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@asyncQuery
1 parent 6451733 commit b396c93Copy full SHA for b396c93
src/lib/decorators.ts
@@ -230,6 +230,11 @@ export function query(selector: string) {
230
};
231
}
232
233
+// Note, in the future, we may extend this decorator to support the use case
234
+// where the queried element may need to do work to become ready to interact
235
+// with (e.g. load some implementation code). If so, we might elect to
236
+// add a second argument defining a function that can be run to make the
237
+// queried element loaded/updated/ready.
238
/**
239
* A property decorator that converts a class property into a getter that
240
* returns a promise that resolves to the result of a querySelector on the
0 commit comments