Prototype-UI Release Candidate 0 | Index
Brings window to the front and sets focus on it When set to true, a click on an blurred window content activates it, default is true Adapts window size to fit its content Computes the complete default options hash made by reverse extending all superclasses default options. Fired when window altitude has changed (z-index) Define whether the carousel is in animation or not It also include of all carousel’s attributes Blurs shadow. Blurs the window (without changing windows order) Fired after bluring the window Brings window to the front (but does not set focus on it) Centers the window within its viewport Check scroll position to avoid unused space at right or bottom Window method name as string, or false to disable close button Default is ‘destroy’ Return elements size in pixel Return elements size in pixel, height or width depends on carousel orientation. Logs using window.console Selector of carousel container inside carousel element, “.container” by default, Window content element Fired after creating the window Utility functions for CSS/StyleSheet files access Returns current visible index of a carousel. Returns the current position from the end of the last element. Returns the current position in pixel. Returns the current size of the carousel in pixel Logs with “debug” level Cleans up DOM and memory Completely removes the iframe shim from the document Destructor, removes elements from the DOM Destructor, closes window, cleans up DOM and memory Fired after destroying the window Define if the dimensions are horizontal or vertical Can be horizontal or vertical, horizontal by default Define the suffix classanme used when a button get disabled, to ‘_disabled’ by default Previous button classname will be previous_button_disabled UI provides Element#enableDrag method that allow elements to fire drag-related events. true by default DOM element containing the carousel DOM element containing the window Logs in a DOM element Array containing the carousel’s elements as DOM elements Required, it define the size of all elements Size of each element, it’s an integer Index of the last loaded element Logs with “error” level List of events fired by an AJAX carousel, it also include of all carousel’s custom events List of events fired by a carousel List of events fired by a window Fires a carousel custom event automatically namespaced in “carousel:” (see Prototype custom events). Fires a window custom event automatically namespaced in “window:” (see Prototype custom events). Fix transparency of PNG background of document stylesheets. Focus shadow. Focuses the window (without bringing window to the front) true if window is focused Fired after unfolding the window true if window is folded Window footer element A format string, will be interpolated with “date”, “level” and “message” Returns window altitude, an integer between 0 and the number of windows, the higher the altitude number - the higher the window position. Returns window bounds (in pixels) Returns the focused window Returns top/left position of a window (in pixels) Returns shadow theme name Returns window width/height dimensions (in pixels) Returns window theme name Find the window containing a given element. Flag to define if there’s still more elements to load Window header element Fired after hiding effect Hides iframe shim leaving its position and dimensions intact Hides shadow Function used to hide the window, default is Element.hide. Fired when hiding a window DOM id of the carousel’s element id ot the window, generated by default Logs with “info” level Constructor, takes a DOM element to log into as argument Constructor function, should not be called directly Constructor function, should not be called directly Constructor Constructor, adds shadow elements to the DOM if element is in the DOM. Constructor, should not be called directly, it’s called by new operator (new Window()) The window is not open and nothing has been added to the DOM yet The log level, default value is debug br/ Prototype UI provides a facility to log message with levels. An array of logs, objects with “date”, “level”, and “message” properties toElement is unfortunately already taken :/ Window method name as string, or false to disable maximize button Default is ‘toggleMaximize’ true if window is maximized Logs in memory Window method name as string, or false to disable minimize button Default is ‘toggleFold’ Fired when user has finished moving a window Fired when user has started a moving a window, position:changed are then fired continously |