Category | Utilities |
---|---|
Export Size | 111 B |
Last Changed | 2 weeks ago |
Reactively convert a ref to string.
import { useToString } from '@vueuse/core' const number = ref(3.14) const str = useToString(number) str.value // '3.14'
/** * Reactively convert a ref to string. * * @see https://vueuse.org/useToString */ export declare function useToString( value: MaybeRefOrGetter<unknown> ): ComputedRef<string>
© 2019-present Anthony Fu
Licensed under the MIT License.
https://vueuse.org/shared/useToString/