You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
690 B
13 lines
690 B
interface UseCompositionOptions {
|
|
afterComposition: (event: CompositionEvent) => void;
|
|
emit?: ((event: 'compositionstart', evt: CompositionEvent) => void) & ((event: 'compositionupdate', evt: CompositionEvent) => void) & ((event: 'compositionend', evt: CompositionEvent) => void);
|
|
}
|
|
export declare function useComposition({ afterComposition, emit, }: UseCompositionOptions): {
|
|
isComposing: import("vue").Ref<boolean>;
|
|
handleComposition: (event: CompositionEvent) => void;
|
|
handleCompositionStart: (event: CompositionEvent) => void;
|
|
handleCompositionUpdate: (event: CompositionEvent) => void;
|
|
handleCompositionEnd: (event: CompositionEvent) => void;
|
|
};
|
|
export {};
|