0.1.1 • Published 5 years ago
@fext/vue-use v0.1.1
Vue Use
Use Vue Composition API Right Now.
Note: Currently only Vue.js 2.x is supported. Since Vue.js has released a beta version of 3.0, this library will support the latest version of Vue.js for the first time.
Quick Start
Installation
npm i @fext/vue-useUsage
import { useLoading } from '@fext/vue-use';
export default {
name: 'example-component',
setup() {
const { loading, withLoading } = useLoading();
return {
loading,
withLoading
};
}
};Docs
Features
useResize-- trackswindowdimensions.useLoading-- loading status of asynchronous task.useForm-- manage, watch, and synchronize state of complex form.useFormElement-- create custom form components that supportv-model.useTable-- manage, watch, and synchronize state of complex table.- ...
More features are coming soon...
Built With
License
Copyright (c) 2020 - present, Felix Yang