plasma-framework/scriptengines/javascript/tests/javascript-config-test/contents/code/main.js

8 lines
230 B
JavaScript
Raw Normal View History

print(plasmoid.readConfig("Test"));
plasmoid.activeConfig = "secondary";
print(plasmoid.activeConfig);
print(plasmoid.readConfig("Test"));
plasmoid.writeConfig("Test", "You should see this!");
print(plasmoid.readConfig("Test"));