Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ngsilverman/jquery-ui-markup

Use jQuery UI purely through HTML markup.
https://github.com/ngsilverman/jquery-ui-markup

Last synced: about 2 months ago
JSON representation

Use jQuery UI purely through HTML markup.

Awesome Lists containing this project

README

        

jQuery UI Markup
================

Use jQuery UI purely through HTML markup (data attributes). No extra Javascript needed.

Specify the interaction, widget or effect through the `data-ui` attribute and the options through `data-ui-="value"` with option being the hyphenated option name (`data-ui-connect-with` instead of `connectWith`, for instance).

**All the jQuery UI options of Boolean, Integer, Number or String type are available.**

## Extra Options

`data-ui-delay=""` Adds a delay before the start of an effect (Add Class, Effect, Hide, Show or Toggle).

## Examples

### Datepicker

```html

Date:


```

### Draggable

```html


Drag me around



```

### Effect

```html


Effect



Etiam libero neque, luctus a, eleifend nec, semper at, lorem. Sed pede.
Nulla lorem metus, adipiscing ut, luctus sed, hendrerit vitae, mi.



```

### Sortable with Connected Lists

```html


  • Item 1

  • Item 2

  • Item 3

  • Item 4

  • Item 5




  • Item 1

  • Item 2

  • Item 3

  • Item 4

  • Item 5


```