attic-datepicker
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "attic-datepicker", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Beautiful single and range date picker that is built with Tailwind CSS and Vue 3 using day.js", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -19,1 +19,13 @@ export const usePreviousDate = (date: any) => { | ||
} | ||
export const useDirective = (binding: any) => { | ||
const { instance } = binding; | ||
document.body.addEventListener('click', $event => { | ||
if (instance.$el.contains($event.target)) { | ||
return (instance.showCalendar = true); | ||
} | ||
return (instance.showCalendar = false) | ||
}); | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17350
12
126