0.0.50 • Published 3 years ago

use-rx-vue v0.0.50

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

UseRxVue

Description

These are useful hooks that you can include into your vue application. These require that vue and rxjs is installed.

HookDescription
useObservableSubscribes a ref to given observable and unsubscribes on component unmount. Can accept an optional callback to trigger on each emitted value aswell as an inital state for the ref.
useObsFromEventExposes a callback and an observable that should be used to subscribe to dom events. Can accept an optional callback to trigger on each emitted value.
useObsFromRefConverts a ref into an observable

Installation

npm i --save use-rx-vue

0.0.46

3 years ago

0.0.47

3 years ago

0.0.50

3 years ago

0.0.48

3 years ago

0.0.49

3 years ago

0.0.45

3 years ago

0.0.44

3 years ago

0.0.43

3 years ago

0.0.42

3 years ago

0.0.41

3 years ago

0.0.3

3 years ago

0.0.4

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago