Search: 1.2.2

Function Math.factorial (n) vs. 1.1.0 FULL ONLY
In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n.
new ng.Sortable (options) vs. 1.2.2 Full+Lite
The sortable plugins allow HTML elements to be sorted and nested under each other. This plugin supports the most common HTML elements out of the box.
new ng.ProgressBar (options) vs. 1.2.2 Full+Lite
A progress bar is a graphical control element used to visualize the progression of an extended computer operation, such as a download, file transfer, or installation. Sometimes, the graphic is accompanied by a textual representation of the progress in a percent format.
Update vs. 1.2.2 Full+Lite
This update is the first step in building a complete UI layout using our library. Soon we'll release more layout to build on top of the current UI. Beside the new UI plugins, we also finished a new development plateform to help us keep the Full and Lite versions in sync.
new ng.Accordion (options) vs. 1.2.2 Full+Lite
An Accordion widget is a set of collapsible panels that can store a large amount of content in a compact space. Users can hide or reveal the content stored in the accordion by clicking the tab of the panel.
Function ng.array (obj, separator) vs. 1.1.0 FULL ONLY
Create an array from an array like object (arguments, collection or a string).
Function ng.TimePicker.get_value () vs. 1.2.2 Full+Lite
Get the timestamp value of the selected time.
Object options vs. 1.2.2 Full+Lite
An optional object to hold the Accordion properties. The ng.Sortable class inherits the ng.PlugIn.options and all it's properties.
Object options vs. 1.2.2 Full+Lite
An optional object to hold the Accordion properties. The ng.ProgressBar class inherits the ng.PlugIn.options and all it's properties.
Function ng.PlugIn.set (prop, value) vs. 1.2.2 Full+Lite
Sets the plugin property. This method will check if there is a setter method for the plugin and call it. Otherwise, it will set the raw property value.This method is useful for setting custom properties.
Object options vs. 1.2.2 Full+Lite
An optional object to hold the Accordion properties. The ng.Accordion class inherits the ng.PlugIn.options and all it's properties.
Function ng.Element.get_plugin () vs. 1.2.2 Full+Lite
This method will return the plugin or component that hold it. The element can be a child element of the plugin object.
Content Types vs. 1.2.2 Full+Lite

HTML, Images, Videos & More

The accordion comes ready with the most common content types supported out of the box and can be easily extended to support additional content. It also supports data attributes to control block elements such as images and iframes.
Function ng.PlugIn.get (prop) vs. 1.2.2 Full+Lite
Gets the plugin property. This method will check if there is a getter function for the plugin and return it's value, otherwise it'll return the raw property. This method is useful for getting custom properties.
Function ng.Sortable.disable () vs. 1.2.2 Full+Lite
Disables the Sortable object and adds a "disabled" class name to the HTML Element. This method fires the onDisable event.
Function ng.ProgressBar.make (parent, position) vs. 1.2.2 Full+Lite
This function will build a ProgressBar inside the parent HTML Element.
Function ng.Sortable.get_value (all_targets) vs. 1.2.2 Full+Lite
Gets an array (or object or arrays for all targets) with the Sortable Elements in order with all sorting values.
Function ng.ProgressBar.set_value (value) vs. 1.2.2 Full+Lite
Sets the progress bar value. This method will call the ng.ProgressBar.resize and fire the onChange event.
Function ng.ProgressBar.show () vs. 1.2.2 Full+Lite
Shows the progress bar. This method fires the onShow event.
Function ng.Sortable.set_sort_var (sort_val) vs. 1.2.2 Full+Lite
Sets the sort_var option. If the sort_var is null, the Sortable.get_value will use the elements id.
Function ng.ProgressBar.is_hidden () vs. 1.2.2 Full+Lite
Checks if the progress bar is hidden or not.
Function ng.Accordion.tab_from_number (num) vs. 1.2.2 Full+Lite
Gets the tab content HTML DIV from the tab number.
Function ng.Accordion.resize () vs. 1.2.2 Full+Lite
Resize the accordion and reset all the heights of the open tabs. This method is called when the browser window is resized and will fire the onResize event.
Function ng.Sortable.move_down (elm) vs. 1.2.2 Full+Lite
Move the sortable HTML Element down one step.
Function ng.Sortable.is_first_in_group (elm) vs. 1.2.2 Full+Lite
Check if the HTML Element is the first in it's parent tree with the same depth HTML Elements.
Function ng.Sortable.get_sort_elements (skip) vs. 1.2.2 Full+Lite
Get all the sortable HTML Elements (from all targets).
Function ng.ProgressBar.get_body_overlay () vs. 1.2.2 Full+Lite
Gets the body overlay property.
Function ng.ProgressBar.resize () vs. 1.2.2 Full+Lite
Resizes the progress bar. This method is called automatically when the window is resized and will fire the onResize event.
Function ng.Sortable.get_children_list (prnt, skip) vs. 1.2.2 Full+Lite
This method will return all the child sortable HTML elements (including different targets) from the parent HTML Element.
Function ng.Sortable.is_enabled () vs. 1.2.2 Full+Lite
Checks if the Sortable object is enabled.
Function ng.Sortable.get_sub_list (elm) vs. 1.2.2 Full+Lite
Get a list of all the sub HTML Elements of the passed HTML Element. This list will include all the sub lists of the child elements as well.
Function ng.ProgressBar.set_indeterminate_text (txt) vs. 1.2.2 Full+Lite
Sets the indeterminate text property.
Function ng.ProgressBar.set_text_color (clr) vs. 1.2.2 Full+Lite
Sets the progress bar active parts text color.
Function ng.Sortable.set_depth (depth) vs. 1.2.2 Full+Lite
Sets the maximum sort depth (the depth option value).
Function ng.Sortable.append_to_target (elm, target) vs. 1.2.2 Full+Lite
Appends the sortable elements to the top of a drop target.
Function ng.Sortable.get_next_element (elm) vs. 1.2.2 Full+Lite
Get the next HTML Element with the same depth as the passed HTML Element.
Function ng.Sortable.indent (elm, depth) vs. 1.2.2 Full+Lite
Change the sortable HTML Element depth.
Function ng.ProgressBar.get_text_color () vs. 1.2.2 Full+Lite
Gets the active parts text color.
Function ng.ProgressBar.set_bg_color (clr) vs. 1.2.2 Full+Lite
Set the active part of the progress bar background color.
Function ng.Sortable.enable () vs. 1.2.2 Full+Lite
Enables the Sortable object. This method fires the onEnable event.
Function ng.Accordion.set_multi_open (multi_open) vs. 1.2.2 Full+Lite
Sets the multi open property.
Function ng.Sortable.get_depth () vs. 1.2.2 Full+Lite
Gets the maximum depth of the elements.
Function ng.ProgressBar.get_indeterminate_text () vs. 1.2.2 Full+Lite
Gets the indeterminate text property.
Function ng.ProgressBar.get_value () vs. 1.2.2 Full+Lite
Gets the current progress bar value.
Function ng.Accordion.disable (num) vs. 1.2.2 Full+Lite
Disables all the accordion buttons or the button passed as a parameter. This method will fire the onDisable event (if all buttons are disabled) and each button disabled will fire the onDisableTab event.
Function ng.Accordion.enable (num) vs. 1.2.2 Full+Lite
Enables all the accordion buttons or the button passed as a parameter. This method will fire the onEnable event (if enabling all buttons) and each button enabled will fire the onEnableTab event.
Function ng.ProgressBar.get_bg_color () vs. 1.2.2 Full+Lite
Gets the progress bar active part background color.
Function ng.Sortable.is_last_in_group (elm) vs. 1.2.2 Full+Lite
Check if the HTML Element is the last in it's parent tree with the same depth HTML Elements.
Function ng.Accordion.number_from_button (btn) vs. 1.2.2 Full+Lite
Gets the tab number from a button.
Function ng.ProgressBar.overlap (elm) vs. 1.2.2 Full+Lite
Overlaps the progress bar over an HTML Element.
Function ng.Accordion.is_open (num) vs. 1.2.2 Full+Lite
Checks if a tab is open.
Function ng.ProgressBar.set_color (bg, txt) vs. 1.2.2 Full+Lite
Sets the active parts background and text colors.
Function ng.Sortable.remove_drop_target (targets) vs. 1.2.2 Full+Lite
Remove a list of sortable objects from the targets drop list.
Function ng.Accordion.button_from_number (num) vs. 1.2.2 Full+Lite
Gets the button from the tab number.
Function ng.ProgressBar.hide () vs. 1.2.2 Full+Lite
Hides the progress bar. This method fires the event onHide.
Function ng.ProgressBar.set_body_overlay (overlay) vs. 1.2.2 Full+Lite
Shows an overlay over the body when the progress is visible or not.
Function ng.Sortable.get_targets () vs. 1.2.2 Full+Lite
Get an HTML Elements ids array of the drop targets (including the sortable own target).
Function ng.Sortable.get_can_sort () vs. 1.2.2 Full+Lite
Get the value of the can_sort option. The difference between this method and Sortable.can_sort is this method does not check for the disabled status.
Function ng.Accordion.add_tab (btn, cnt, pos) vs. 1.2.2 Full+Lite
Adds a new tab to the accordion.
Function ng.Sortable.get_sort_var () vs. 1.2.2 Full+Lite
Gets the sort_var option.
Function ng.Sortable.to_json (all_targets) vs. 1.2.2 FULL ONLY
Creates a JSON string from the sortable object value. Review Sortable.get_value for details on the value object structure.
Function ng.Sortable.can_sort (elm) vs. 1.2.2 Full+Lite
Check if the elements can be sorted. This method checks the can_sort option and if the object id disabled or not.
Function ng.ProgressBar.set_complete_text (txt) vs. 1.2.2 Full+Lite
Sets the complete text property.
Function ng.Accordion.hide_loading (num) vs. 1.2.2 Full+Lite
Hides the ng.ProgressBar from the tab. This method fires the onLoad event.
Function ng.Sortable.move_up (elm) vs. 1.2.2 Full+Lite
Move the element up one step.
Function ng.Sortable.is_disabled () vs. 1.2.2 Full+Lite
Checks if the Sortable object is disabled.
Function ng.Sortable.get_pre_element (elm) vs. 1.2.2 Full+Lite
Get the previous HTML Element with the same depth of the passed HTML Element.
Function ng.Accordion.is_close (num) vs. 1.2.2 Full+Lite
Checks if a tab is closed.
Function ng.Accordion.get_open_tabs () vs. 1.2.2 Full+Lite
Gets an array of all the open tabs content HTML DIVs elements.
Function ng.Accordion.open (num) vs. 1.2.2 Full+Lite
Opens a tab.
Function ng.Accordion.get_keep_open () vs. 1.2.2 Full+Lite
Gets the keep open property.
Function ng.Sortable.set_can_sort (cn_srt) vs. 1.2.2 Full+Lite
Set the can_sort option value.
Function ng.Accordion.get_can_sort () vs. 1.2.2 Full+Lite
Gets the can sort property.
Function ng.Accordion.get_max_height () vs. 1.2.2 Full+Lite
Gets the max height property.
Function ng.Accordion.number_from_tab (id) vs. 1.2.2 Full+Lite
Get the number of tab from the content id.
Function ng.ProgressBar.get_hide_text () vs. 1.2.2 Full+Lite
Gets the hide text property.
Function ng.Accordion.set_max_height (max_height) vs. 1.2.2 Full+Lite
Sets the max height property.
Function ng.ProgressBar.get_complete_text () vs. 1.2.2 Full+Lite
Gets the complete text property.
Function ng.Accordion.close (num) vs. 1.2.2 Full+Lite
Close a tab.
Function ng.Accordion.is_enabled (num) vs. 1.2.2 Full+Lite
Checks if the accordion is enabled. If the parameter num is passed, it will check the tab enabled status.
Function ng.Sortable.add_drop_target (targets) vs. 1.2.2 Full+Lite
Add a new list of sortable as a drop target. Adding drop targets work in both directions automatically.
Function ng.Sortable.get_parent_element (elm) vs. 1.2.2 Full+Lite
Get the parent HTML Element of a nested sub HTML Element.
Function ng.Accordion.get_num_tabs () vs. 1.2.2 Full+Lite
Gets the total number of tabs.
Function ng.Accordion.set_keep_open (keep_open) vs. 1.2.2 Full+Lite
Sets the keep open property.
Function ng.ProgressBar.get_complete_class () vs. 1.2.2 Full+Lite
Gets the complete class name.
Function ng.Accordion.toggle_tab (num) vs. 1.2.2 Full+Lite
Open or close a tab.
Function ng.Sortable.move (elm, target, position, depth) vs. 1.2.2 Full+Lite
Move a sortable HTML Element above or below the target and set it's depth.
Function ng.Accordion.show_loading (num, value) vs. 1.2.2 Full+Lite
Shows an ng.ProgressBar on top of a tap button. This method fires the onLoading event.
Function ng.Accordion.is_disabled (num) vs. 1.2.2 Full+Lite
Checks if the accordion is disabled. If the parameter num is passed, it will check the tab disabled status.
Function ng.Accordion.remove_tab (num) vs. 1.2.2 Full+Lite
Removes a tab.
Function ng.ProgressBar.set_complete_class (classname) vs. 1.2.2 Full+Lite
Sets a special CSS class name to add to the progress bar when it reaches 100%.
Function ng.Accordion.get_sortable () vs. 1.2.2 Full+Lite
Gets the sortable object.
Function ng.Accordion.get_multi_open () vs. 1.2.2 Full+Lite
Gets the multi open property.
Function ng.Accordion.get_close_tabs () vs. 1.2.2 Full+Lite
Gets an array of all the close tabs content HTML DIVs elements.
Function ng.Accordion.get_tab_height (num) vs. 1.2.2 Full+Lite
Gets the calculated height of the tab content.
Function ng.Accordion.set_can_sort (can_sort) vs. 1.2.2 Full+Lite
Set the can sort property.
Function ng.ProgressBar.set_hide_text (hide) vs. 1.2.2 Full+Lite
Hides or shows the progress bar text.