Jira Dashboard load preferences

I have developed a dashboard plugin and save the preferences with “this.API.savePreferences(preferences);”.
Now I would like to reload the preferences while editing.
Is this possible?

I’ve found the solution

Hi Michael, Could you please post the solution that you found?
Thanks, Steve

DashboardItem.prototype.renderEdit = function (context, preferences) {
var value = [preferences[‘pref-name’]];