You can find editables for your component by using the find methodvar cmpEditables = Granite.author.store.find("<component content node path"); <!-- return array of editables -->
var cmp = cmpEditables[0];<!-- get you component editable -->
cmp.refresh(); <!-- refresh you component--->
Or to refresh you can also useGranite.author.editableHelper.doRefresh(cmp)
No comments:
Post a Comment
If you have any doubts or questions, please let us know.