Cabrillo JS constants

These are the constants used by Cabrillo JS.

Cabrillo JS button styles

Constants to use when setting the style of a button.

Table 1. Properties
Property Type Description
cabrillo.viewLayout.MORE_MENU_BUTTON_STYLE String Indicates that the button appears in the navigation bar's overflow button menu.

Cabrillo JS close button styles

Constants to use when setting the close button style of modal interfaces.

Table 2. Properties
Name Type Description
cabrillo.modal.CLOSE_BUTTON_STYLE_CANCEL String The modal has a localized cancel button to close the modal.
cabrillo.modal.CLOSE_BUTTON_STYLE_CLOSE String The modal has a localized close button to close the modal.
cabrillo.modal.CLOSE_BUTTON_STYLE_DONE String The modal has a localized done button to close the modal.

Cabrillo JS modal presentation styles

Constants to use when setting the presentation stype of modal interfaces.

Table 3. Properties
Name Type Description
cabrillo.modal.MODAL_PRESENTATION_STYLE_FULL_SCREEN String The modal is presented full screen.
cabrillo.modal.MODAL_PRESENTATION_STYLE_FORM_SHEET String The modal is presented as a form sheet, but may adapt to full screen on small devices.