-
Notifications
You must be signed in to change notification settings - Fork 0
Documentation
Returns an element with a specific id. Starts for QueryId.
- string id the id
- Element the element, or null
Returns an element that match the specified selectors. Starts for Query.
- string text the selectors
- Element the element, or null
Returns all the elements that match the specified selectors. Starts for QueryAll.
- string text the selectors
- Array.<Element> the array of the elements
Returns an element that match the specified selectors inside a given parrent element. Starts for QuerySub.
- Element sub the parrent element
- string text the selectors
- Element the element, or null
Returns all the elements that match the specified selectors inside a given parrent element. Starts for QueryAllSub.
- Element sub the parrent element
- string text the selectors
- Array.<Element> the array of the elements
A function with one parameter.
- Object param the prameter
Call a function for each element inside an array. Stands for ForeachcallFunction.
- Array.<Object> l the array of objects
- lambdaOne f the function
Call a function for each element that match the specified selectors. Stands for QueryAllForeachcallFunction.
- string text the selectors
- lambdaOne f the function
Call a function for each element that match the specified selectors inside a given parrent element. Stands for QueryAllSubForeachcallFunction.
- Element sub the parrent element
- string text the selectors
- lambdaOne f the function
Call a function for each integer number from 0 to given limit. Stands for ForeachIntegercallFunction.
- Number n the limit
- lambdaOne f the function
An http responce handle callback.
- string text the responce text
- number status the responce status code
Sends one http request. Stands for Request.
- string method the request method: 'POST' or 'GET'
- string link the http url
- Object params the request parameters
- responceCallback callback the responce callback
- responceCallback callbackError the responce callback on error
Sends one http POST request. Stands for RequestPost.
- string link the http url
- Object params the request parameters
- responceCallback callback the responce callback
- responceCallback callbackError the responce callback on error
Sends one http GET request. Stands for RequestGet.
- string link the http url
- Object params the request parameters
- responceCallback callback the responce callback
- responceCallback callbackError the responce callback on error
Sends one http GET request without parameters. Stands for RequestGetRaw.
- string link the http url
- responceCallback callback the responce callback
- responceCallback callbackError the responce callback on error
Clone the first (and only) child of a template element.
- string id the id of the template element
- Element the new element
Create an element from html text.
- string text the html text
- Element the new element
An event callback.
- Event e the keydown event
Adds a listener to an element for the keydown event of the enter character.
- Element ele the element
- callbackEnter f the callback
An event callback.
- number offset offset of the limit
Adds a listener for scrolling near the end of the page. Near is defined by a number of pixels from the end of the page.
- number limit the number of pixels
- callbackScrollNearEnd f the callback