forked from vitmalina/w2ui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/vitmalina/w2ui
- Loading branch information
Showing
30 changed files
with
559 additions
and
411 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Indicates the tabindex base value for generated form fields. | ||
|
||
<div class="definition"> | ||
Integer, default = 0 | ||
</div> | ||
|
||
Setting this value can be useful if you have multiple auto-generated forms on the same page. | ||
<br> | ||
The value of <span class="argument">.tabindexBase</span> will be added to the "normal" tabindex value of the generated field. | ||
<br> | ||
Note that setting the tabindex of a field in the field atribute still has priority over the genrated tabindex value. | ||
<br><br> | ||
In this example, the first field will have a tabindex value of 101: | ||
<textarea class="javascript"> | ||
var form = $('#form').w2form({ | ||
name : 'form', | ||
header : 'Form with modified tabindex base', | ||
tabindexBase: 100, | ||
fields : [ | ||
{ field: 'first_name', type: 'text', html: { caption: 'First Name',} }, | ||
{ field: 'zip', type: 'int', html: { caption: 'Zip' } }, | ||
{ field: 'short_bio', type: 'text', html: { caption: 'Short Bio' } }, | ||
// for talk_name tabindex "502" will be used instead of "104" | ||
{ field: 'talk_name', type: 'text', html: { caption: 'Talk Name', attr:'tabindex=502' } }, | ||
{ field: 'description', type: 'text', html: { caption: 'Talk Description' } } | ||
] | ||
}); | ||
</textarea> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,7 @@ | |
{ recid: 5, fname: 'Kelly', lname: 'Silver', email: '[email protected]', sdate: '4/3/2012' }, | ||
{ recid: 6, fname: 'Francis', lname: 'Gatos', email: '[email protected]', sdate: '2/5/2012' } | ||
], | ||
onColumnOnOf: function(event) { | ||
onColumnOnOff: function(event) { | ||
console.log(event); | ||
} | ||
}); | ||
|
@@ -43,4 +43,4 @@ | |
<span class="method">event.preventDefault()</span>. To perform an action | ||
after the event is fully processed, define <span class="method">event.onComplete</span> function. | ||
<div style="height: 10px;"></div> | ||
See <a href="utils/events">events</a> page in utilities for more details. | ||
See <a href="utils/events">events</a> page in utilities for more details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,28 @@ | ||
## W2UI 1.5 - MIT License | ||
|
||
W2UI is modern, intuitive JavaScript UI library for building rich data-driven web application. The library has | ||
a small footprint and only jQuery (1.9+) as a dependency. The library has the following widgets: | ||
|
||
* w2layout | ||
* w2grid | ||
* w2toolbar | ||
* w2sidebar | ||
* w2tabs | ||
* w2form | ||
* w2fields | ||
* w2popup | ||
* w2utils | ||
**[`w2ui`](http://w2ui.com)** is a modern and intuitive JavaScript UI library for building rich data-driven web applications. The library has | ||
a small footprint and requires only jQuery (1.9+) as a dependency. | ||
|
||
The library implements the following highly usable widgets: | ||
|
||
* **[w2layout](http://w2ui.com/web/docs/1.5/layout)** - a Layout component - *[demo](http://w2ui.com/web/demo/layout)* | ||
* **[w2grid](http://w2ui.com/web/docs/1.5/layout/grid)** - an advanced Grid component - *[demo](http://w2ui.com/web/demo/grid)* | ||
* **[w2toolbar](http://w2ui.com/web/docs/1.5/toolbar)** - a Toolbar component - *[demo](http://w2ui.com/web/demo/toolbar)* | ||
* **[w2sidebar](http://w2ui.com/web/docs/1.5/sidebar)** - a Tree/Sidebar component - *[demo](http://w2ui.com/web/demo/sidebar)* | ||
* **[w2tabs](http://w2ui.com/web/docs/1.5/tabs)** - Tabs - *[demo](http://w2ui.com/web/demo/tabs)* | ||
* **[w2form](http://w2ui.com/web/docs/1.5/form)** - Forms - *[demo](http://w2ui.com/web/demo/form)* | ||
* **[w2fields](http://w2ui.com/web/docs/1.5/fields)** - various Fields - *[demo](http://w2ui.com/web/demo/fields)* | ||
* **[w2popup](http://w2ui.com/web/docs/1.5/popup)** - a Popup component - *[demo](http://w2ui.com/web/demo/popup)* | ||
* **[w2utils](http://w2ui.com/web/docs/1.5/utils)** - various utilities - *[demo](http://w2ui.com/web/demo/utils)* | ||
|
||
The complete library is only **69Kb** (minified & gzipped) | ||
|
||
|
||
## Who Uses It | ||
## Who is Using It | ||
|
||
If you're using w2ui I'd love to hear about it, please email to [email protected] name of your project and a link to a public website or demo and I will add it to the list. | ||
[List of projects that use **`w2ui`**](https://github.com/vitmalina/w2ui/wiki/Projects-that-use-w2ui)! | ||
|
||
[List of projects that use w2ui](https://github.com/vitmalina/w2ui/wiki/Projects-that-use-w2ui) | ||
If you're using **`w2ui`**, I'd love to hear about it, please email to `vitmalina@gmail.com` the name of your project and a link to a public website or demo, and I will add it to the list. | ||
|
||
## Quick Start | ||
|
||
|
@@ -29,11 +31,15 @@ Current development version is 1.5.rc1. | |
|
||
You can: | ||
- Download from here: [http://w2ui.com](http://w2ui.com) | ||
- Install using bower | ||
- Install using bower: | ||
|
||
``` | ||
bower install w2ui | ||
``` | ||
- or install using npm: | ||
``` | ||
npm install w2ui | ||
``` | ||
|
||
To start using the library you need to include into your page: | ||
|
||
|
@@ -44,7 +50,8 @@ All the widgets and their css classes are defined inside of these two files. The | |
are embedded into CSS file. | ||
|
||
There is no requirement for a server side language. Node, Java, PHP, ASP, Perl or .NET all will work, as long as you can | ||
return JSON format from the server (or write a converter into JSON format on the client). | ||
return JSON format from the server (or write a converter into JSON format on the client). Some server side example implementations | ||
can be found [here](https://github.com/vitmalina/w2ui/tree/master/server). | ||
|
||
[Getting Started Guide](http://w2ui.com/web/get-started) | ||
|
||
|
@@ -54,7 +61,7 @@ return JSON format from the server (or write a converter into JSON format on the | |
You can find documentation and demos here: | ||
|
||
* [http://w2ui.com/web/docs](http://w2ui.com/web/docs) - documentation | ||
* [http://w2ui.com/web/demos](http://w2ui.com/web/demos) - demos | ||
* [http://w2ui.com/web/demos](http://w2ui.com/web/demos) - detailed demos | ||
|
||
|
||
## Bug Tracking | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.