Introduction

From Documentation
Revision as of 02:20, 14 November 2016 by Robertwenzel (talk | contribs) (→‎jQuery)




ZK Client-side Reference is the reference for client-side programming, including component development.

Client-side programming is optional to application developers. However, if you'd like to have more control of the client, please refer to the General Control and Customization sections. The other sections are more for component development.

If you would like to develop a component, you should read ZK Component Development Essentials first for introduction. Then, you could reference this book if there is an issue.

jQuery

ZK Client Engine is based on jQuery, so you can use jq or $ as a jQuery object like:

$( "div" ).click(function() {
    //...
});

jq(mySelector).css( "background-color" );

For API details, please refer to jQuery Documentation for details.

To obtain the jQuery version bundled with your ZK version enter jq.fn.jquery into Console tab of a developer tool.




Last Update : 2016/11/14

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.