2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-13 08:52:25 +03:00
Files
vue-meta/src/client/updaters/title.js
T
2019-02-09 21:45:22 +01:00

9 lines
188 B
JavaScript

/**
* Updates the document title
*
* @param {String} title - the new title of the document
*/
export default function updateTitle(title = document.title) {
document.title = title
}