mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-20 09:30:33 +03:00
feat: add getOptions method (resolves: #215)
This commit is contained in:
committed by
Alexander Lichter
parent
3db250dfea
commit
31e975d312
@@ -12,6 +12,7 @@ export default function _$meta(options = {}) {
|
||||
*/
|
||||
return function $meta() {
|
||||
return {
|
||||
getOptions: () => Object.freeze({ ...options }),
|
||||
refresh: _refresh.bind(this),
|
||||
inject,
|
||||
pause: pause.bind(this),
|
||||
|
||||
@@ -13,6 +13,7 @@ export default function _$meta(options = {}) {
|
||||
*/
|
||||
return function $meta() {
|
||||
return {
|
||||
getOptions: () => Object.freeze({ ...options }),
|
||||
refresh: _refresh.bind(this),
|
||||
inject: _inject.bind(this),
|
||||
pause: pause.bind(this),
|
||||
|
||||
Reference in New Issue
Block a user