mirror of
				https://gitee.com/vant-contrib/vant.git
				synced 2025-10-31 19:42:07 +08:00 
			
		
		
		
	
		
			
				
	
	
	
		
			2.6 KiB
		
	
	
	
	
	
	
	
			
		
		
	
	
			2.6 KiB
		
	
	
	
	
	
	
	
Changelog
v1.6.0
- add new useRafmethod
v1.5.1
- add vueas peer dependencies
v1.5.0
- useEventListenernow returns a cleanup function
v1.4.4
- Fix useChildrennot sort children correctly
v1.4.3
- improve useEventListenertyping
v1.4.2
- useClickAwaysupport multiple targets
v1.4.1
- Add exportsfield to package.json, support nuxt 3.
v1.4.0
- Using .mjsextension,dist/index.esm.js->dist/index.esm.mjs
v1.3.6
- Fix missing VisibilityState type
v1.3.5
- Fix useChildren missing subTree when flattening vnodes
v1.3.4
- Fix useClickAway failed in SSR
v1.3.3
- Allow to call useWindowSize outside setup
- Improve usePageVisibility event bindings performance
v1.3.2
- Remove passive event polyfill
v1.3.1
- Remove requestAnimationFrame polyfill
v1.3.0
- Added useCustomFieldValuemethod
v1.2.2
2021-07-22
- useEventListener: fix- invalid watch sourceissue
v1.2.1
2021-07-21
- useEventListenerwill now watch the target changes and re-listen the events
v1.2.0
2021-07-12
- Adjust type definition of useParentanduseChildren
v1.1.2
2021-04-22
- Fix the issue of useScrollParentreporting errors under SSR
v1.1.1
2021-04-16
- Remove @babel/runtimedependency
v1.1.0
2021-04-06
- Compile to ES6 instead of ES5
v1.0.5
2021-02-13
- Optimize the return value type of useRect, always returnDOMRect
v1.0.4
2021-02-12
- useChildrensupports defining the type of Children through generics
v1.0.3
2021-02-10
- When parent does not exist, useParentnow returns index -1 instead of undefined
v1.0.2
2021-01-01
- Fix the problem of incorrect useToggle type definition
v1.0.1
2020-12-27
- Export individual internal methods for use by Vant
v1.0.0
2020-12-15
- Optimize the volume of the build product
v0.1.0
2020-11-11
- Added onMountedOrActivatedmethod
v0.0.8
2020-10-09
- Improve type definition
v0.0.7
2020-10-06
- Fix the problem that useCountDownis not exported
v0.0.6
2020-10-06
- Export all type definitions
v0.0.5
2020-10-06
- Added useCountDownmethod
v0.0.4
2020-10-05
- Added useRectmethod
v0.0.3
2020-09-27
- Added useParentmethod
- Added useChildrenmethod
v0.0.2
2020-09-15
- Added useWindowSizemethod
v0.0.1
2020-09-15
- Added useClickAwaymethod
- Added useEventListenermethod
- Added usePageVisibilitymethod
- Added useScrollParentmethod
- Added useTogglemethod