Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose fitSize from BaseTextArea #23

Closed
prescience-data opened this issue Jul 4, 2023 · 0 comments
Closed

Expose fitSize from BaseTextArea #23

prescience-data opened this issue Jul 4, 2023 · 0 comments

Comments

@prescience-data
Copy link

prescience-data commented Jul 4, 2023

function fitSize() {

It would be nice to have fitSize method exposed to allow triggering a state update it seems there are times when the function does not trigger automatically when updating the model value.

const textAreaValue = ref<string>()

async function onSomeEvent (): void  {
  const value: string = await someAsyncSource()
  textAreaValue.value = value
  
  // Would like to trigger `fitSize()` here from outside the component if possible.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant