common helpers

Just a set of common helpers.

Methods
alert creates an alert box
animate animate some hmtl area
attachEvent
bind binds a function to an object
blockEvent
callEvent
clone makes a shallow copy of an object
confirm creates a confirm box
copy makes a deep copy of an object
delay delays a code from executing at runtime. The method waits for the specified number of milliseconds and then executes the specified code
detachEvent
dp returns dataprocessor object
editStop closes active editor in all webix components
event attaches an event handler to an HTML element
eventRemove removes an event handler from an HTML element
exec executes a code string at runtime
extend merges the contents of 2 objects together into the first object
hasEvent
isArray checks whether the passed value is an array
isDate checks whether the passed value is a date object
isUndefined checks whether the passed value is undefined
jsonp issues jsonP call
mapEvent
message shows a non-modal info message box
modalbox creates a modal box
once allows to call code only once
print prints a view according to the specified settings
proto merges the contents of several objects together into the first object
protoUI merges the contents of several objects together into the first object and creates from it a new view
proxy creates proxy object
ready event handler called just after the page has been completely parsed.
remote mapping for server side API
require includes and caches a Javascript module
send sends an HTTP request to the server (emulates submitting a form)
single implements the singleton pattern
stringify converts object data into a string
template converts string to templating function
toArray extends the passed array with the methods of the PowerArray library
toCSV exports data of a data component to a CSV document
toExcel exports data of a data component to an Excel document
toFunctor converts a string to a function
toNode returns an HTML node object
toPDF exports data of a data component to a PDF file
toPNG exports data of a component to a PNG file
type defines new rendering type for the component
ui the object constructor. Creates a new instance of the specified view
uid returns a unique id
unblockEvent
wrap 'wraps' a function around the original function
Events
onClick fires when the user clicks on an element
onRotate occurs on screen rotating
Other
cdn returns Webix cdn location
codebase returns the path to the 'codebase' folder
name returns the name of the component (by default, 'Core')
version returns the current version of the library
scrollSize returns the width of the scroll bar
zIndexBase maximum used z-index
Back to top