refac/fix: mineru params
This commit is contained in:
@@ -11,7 +11,9 @@
|
||||
export let className =
|
||||
'w-full rounded-lg px-3.5 py-2 text-sm bg-gray-50 dark:text-gray-300 dark:bg-gray-850 outline-hidden h-full';
|
||||
|
||||
export let onInput = () => {};
|
||||
export let onBlur = () => {};
|
||||
|
||||
let textareaElement;
|
||||
|
||||
// Adjust height on mount and after setting the element.
|
||||
@@ -58,6 +60,8 @@
|
||||
{readonly}
|
||||
on:input={(e) => {
|
||||
resize();
|
||||
|
||||
onInput(e);
|
||||
}}
|
||||
on:focus={() => {
|
||||
resize();
|
||||
|
||||
Reference in New Issue
Block a user