def subscribe(self, state, *args, **kwargs): object_storage["widgets"] = Object.to_py(state.widgets)
def save_todos(self, new, old): ToDoStorage.save(Object.to_py(new))
def get_prop(self, item): from vue.bridge import Object props = Object.to_py(self.store.props(self.widget_id)) return props.get(item, None)