Vue Composable Utils
Reusability and Composition functions.
# 🌻 Introduction
vue-composable-utils
and @vue/composition-api (opens new window)
# 🚀 Features
- Reactivity system with Vue.js.
- Written in Javascript.
# 📦 Installation
# install with yarn
yarn add @vue/composition-api vue-composable-utils
# install with npm
npm install @vue/composition-api vue-composable-utils
# 💡 Composable Utils
Name | Arguments | Returns |
---|---|---|
UseBind | initial | value, changed, reset |
UseEmbed | initial | isEmbedBlock, clear |
UseState | initial | value, set |
UseDebounce | initial | value, delay, debounceVal, debounceListener |
UseDebounceFn | initial | delay, immediate, fn |
UsePick | Parameter | Object, Keys |
UseResize | initial | screenWidth, screenHeight, ratiowh, ratiohw, rect |
UseLocalStorage | initial | value, key, |
UseQuene | initial | set, state, remove, first, last, size |
UseModal | initial | visible, setVisible, current, openModal, closeModal |
UseDarkMode | initial | darkMode, setDarkMode |
UseStringCase | initial | string, camelCase,capitalizeCase, sentenceCase, kebabCase, pascalCase, lowerCase, upperCase |
UseDate | initial | format, timeAgo, getDate, utc, timezone, difference |
Usei18nDate | initial | format, timeAgo, getDate, utc, timezone, difference, |
UseCookie | initial | cookie, appendCookie,setCookie, parseCookie ,getCookie, deleteCookie |
UseClipboard | initial | copy, set |
UseList | initial | list, set, reduce, sort, first, deleteFirst, deleteLast, last,filter, push, reset |
- UseBind.
- UseEmbed.
- UseState.
- UseDebounce.
- UseDebounceFn.
- UsePick.
- UseResize.
- UseLocalStorage.
- UseQuene.
- UseModal.
- UseDarkMode.
- UseStringCase.
- UseDate.
- Usei18nDate.
- UseCookie.
- UseClipboard.
- UseList.
# 👨 👩 Contributors
Abdulnasır Olcan | Büşra Şanlıbayrak | Mehmet Varol | Rukiye Demir | Burak Küçükali | İlker İsmailoğlu | Güvenç Terzierol |