Button
Functions
A composable overload for NavigationBar.Button.remember that uses AbstractButtonBuilder to create and remember an Button instance. Check the documentation of overloaded NavigationBar.Button.remember function below for more details. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers an Button that triggers ly.img.editor.core.configuration.EditorConfiguration.onClose callback via EditorEvent.OnClose. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers an Button that starts export via EditorEvent.Export. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers a custom EditorComponent that navigates to the next page via EditorEvent.Navigation.ToNextPage. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers a custom EditorComponent that navigates to the previous page via EditorEvent.Navigation.ToPreviousPage. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers an Button that does redo operation in the editor via ly.img.engine.EditorApi.redo engine API. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers a custom EditorComponent that updates editor view mode via EditorEvent.SetViewMode: when current view mode is EditorViewMode.Edit, then EditorViewMode.Pages is set and vice versa. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers an Button that updates editor view mode via EditorEvent.SetViewMode: when current view mode is EditorViewMode.Edit, then EditorViewMode.Preview is set and vice versa. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.
A composable helper function that creates and remembers an Button that does undo operation in the editor via ly.img.engine.EditorApi.undo engine API. Note that builder lambda runs only once, therefore you should not have builder property reassignments based on conditions. Check ly.img.editor.core.configuration.EditorConfiguration.Companion.remember for more details on this pattern.