mirror of
https://github.com/pbek/QOwnNotes.git
synced 2025-06-28 21:09:52 +00:00
16 lines
367 B
QML
16 lines
367 B
QML
import QtQml 2.0
|
|
import QOwnNotesTypes 1.0
|
|
|
|
/**
|
|
* This script is an example how to get a notification when a note was opened
|
|
*/
|
|
QtObject {
|
|
/**
|
|
* This function is called after a note was opened
|
|
*
|
|
* @param {Note} note - the note object that was opened
|
|
*/
|
|
function noteOpenedHook(note) {
|
|
script.log(note.fullNoteFilePath);
|
|
}
|
|
}
|