Skip to content

Commit

Permalink
feat: add focus and blur methods to base element (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcschy committed Aug 26, 2022
1 parent 8e7b24f commit b75cd02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/elements/elements.ts
Expand Up @@ -27,6 +27,8 @@ interface BaseElement<UpdateOptions, ElementEvents> {
mount(selector: string): Promise<void>;
update(options: UpdateOptions): Promise<void>;
clear(): void;
focus(): void;
blur(): void;
unmount(): void;
on<T extends EventType>(
eventType: T,
Expand Down

0 comments on commit b75cd02

Please sign in to comment.