Files
tauri/api/src/window.ts
2021-02-12 02:42:40 -03:00

19 lines
258 B
TypeScript

import { invoke } from './tauri'
/**
* sets the window title
*
* @param title the new title
*/
function setTitle(title: string): void {
invoke({
module: 'Window',
message: {
cmd: 'setTitle',
title
}
})
}
export { setTitle }