File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ const headerRef = ref(null)
113
113
114
114
const isPricingPage = computed(() => route.name === 'Pricing')
115
115
116
- const { styles } useFixedHeader(headerRef, {
116
+ const { styles } = useFixedHeader(headerRef, {
117
117
watch: isPricingPage, // Will perform a check everytime the value changes
118
118
})
119
119
</script>
@@ -164,7 +164,7 @@ interface UseFixedHeaderOptions {
164
164
*/
165
165
watch: Ref <T > | ComputedRef <T >
166
166
/**
167
- * Whether to transition `opacity` propert from 0 to 1
167
+ * Whether to transition `opacity` property from 0 to 1
168
168
* and vice versa along with the `transform` property
169
169
*
170
170
* @default false
Original file line number Diff line number Diff line change 2
2
"name" : " vue-use-fixed-header" ,
3
3
"description" : " Turn your boring fixed header into a smart one with three lines of code." ,
4
4
"private" : false ,
5
- "version" : " 2.0.1 " ,
5
+ "version" : " 2.0.2 " ,
6
6
"type" : " module" ,
7
7
"keywords" : [
8
8
" vue" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export interface UseFixedHeaderOptions<T = any> {
17
17
*/
18
18
watch : Ref < T > | ComputedRef < T >
19
19
/**
20
- * Whether to transition `opacity` propert from 0 to 1
20
+ * Whether to transition `opacity` property from 0 to 1
21
21
* and vice versa along with the `transform` property
22
22
*
23
23
* @default false
You can’t perform that action at this time.
0 commit comments