Skip to main content

Type Alias: SaveFavouriteScene()

SaveFavouriteScene: () => Promise<boolean>

Update actually loaded scene with current state. It checks if entry exists by given shortcode by calling matchFavuorite(). If given entry doesn't exists it returns false. If it exists it calls getFavouriteItems() function to update app state,updateImageModular() function to update scene image and returns true

Returns

Promise<boolean>

If true save was successful

Fires

@mimeeq#mimeeq-modular-save-scene