A Web Component that provides typeahead suggestions for AT Protocol (Bluesky) handles. Uses the public app.bsky.actor.searchActorsTypeahead API directly from the client.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Clarify custom tag name docs in README

+10 -3
+10 -3
README.md
··· 52 52 Keyboard navigation: Arrow keys, Page Up/Down, Enter to select, Escape to 53 53 dismiss. 54 54 55 - ## Disabling auto-registration 55 + ## Custom tag name 56 56 57 - Pass `?tag=none` in the import URL to prevent auto-registration: 57 + By default, importing the module automatically registers the component as 58 + `<actor-typeahead>`. If you want to use a different tag name, or need to extend 59 + the class before registering, you can disable auto-registration by passing 60 + `?tag=none` in the import URL: 58 61 59 62 ```ts 60 63 import { ActorTypeahead } from "@tijs/actor-typeahead?tag=none"; 61 - customElements.define("my-typeahead", ActorTypeahead); 64 + 65 + // Register under a custom name 66 + customElements.define("my-handle-picker", ActorTypeahead); 62 67 ``` 68 + 69 + You can also pass a custom tag name directly: `?tag=my-handle-picker`. 63 70 64 71 ## License 65 72