(
label: string,
onSubmit: (str: FileList | null) => void,
owner: Options,
{clear = false} = {},
)
| 860 | onchange: (str: string) => void = (_) => {}; |
| 861 | watchForChange(func: (str: string) => void) { |
| 862 | this.onchange = func; |
| 863 | } |
| 864 | submit() { |
| 865 | this.onSubmit(this.value); |
| 866 | } |
| 867 | } |
| 868 | class EmojiInput implements OptionsElement<Emoji | undefined | null> { |
| 869 | readonly label: string; |
| 870 | readonly owner: Options; |
| 871 | readonly onSubmit: (str: Emoji | undefined | null) => void; |
| 872 | input!: WeakRef<HTMLInputElement>; |
| 873 | value!: Emoji | undefined | null; |
| 874 | localuser: Localuser; |
| 875 | clear: boolean; |
nothing calls this directly
no outgoing calls
no test coverage detected