nuxt-interpolation
Advanced tools
+12
-0
@@ -5,2 +5,14 @@ # Changelog | ||
| ### [0.2.7](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.6...v0.2.7) (2021-11-06) | ||
| ### Features | ||
| * event metaKey ([de6c417](https://github.com/daliborgogic/nuxt-interpolation/commit/de6c417450c5c56e4007fe51ac613c765903b7b5)) | ||
| ### Bug Fixes | ||
| * missing `noopener` ([9bf855d](https://github.com/daliborgogic/nuxt-interpolation/commit/9bf855de5678ef7f4689ff2703233be0f1e6b5d4)) | ||
| ### [0.2.6](https://github.com/daliborgogic/nuxt-interpolation/compare/v0.2.2...v0.2.6) (2021-11-06) | ||
@@ -7,0 +19,0 @@ |
@@ -12,3 +12,5 @@ import Vue from 'vue' | ||
| event.preventDefault() | ||
| router.push(href) | ||
| event.metaKey | ||
| ? window.open(href, '_blank', 'noopener') | ||
| : router.push(href) | ||
| } | ||
@@ -15,0 +17,0 @@ } |
+1
-1
| { | ||
| "name": "nuxt-interpolation", | ||
| "version": "0.2.6", | ||
| "version": "0.2.7", | ||
| "description": "Directive for binding every link to catch the click event, and if it's a relative link router will push.", | ||
@@ -5,0 +5,0 @@ "main": "lib/module.js", |
7328
6.98%58
3.57%