Arguments
args: An object that indicates the attributes you’d like to set for the modal. Options include:title: The title of the modalsize: The size of the modal (sm,lg,xl)centered: Vertically centers the modalscroll: Sets the modal to be scrollabletheme: Sets the color for the modal frame. (Bootstrap colors)buttons: The array of buttons that should be added to the right of Cancel. Each has the following format:label: The label of the buttonfunc: The function to run when clickedcolor: The Bootstrap color to use for the button
Effects
Modals in Erstwhile are implemented with Bootstrap, so this method lets you set the properties of the modal in those terms.