mirror of
https://github.com/tenrok/vue-meta.git
synced 2026-06-13 08:52:25 +03:00
9 lines
188 B
JavaScript
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
|
|
}
|