Code Monkey home page Code Monkey logo

api.jqueryui.com's Introduction

api.jqueryui.com's People

Contributors

agcolom avatar ajpiano avatar arschmitz avatar arthurvr avatar dependabot[bot] avatar fnagel avatar gauravcool avatar igochkov avatar jzaefferer avatar kborchers avatar kkmuffme avatar krinkle avatar kswedberg avatar lboynton avatar mattbrundage avatar mgol avatar nighttrax avatar patrick-vandy avatar petersendidit avatar rdworth avatar rxaviers avatar scottgonzalez avatar shahraship avatar snatchev avatar stuartmoore avatar tecfreak avatar thibaut avatar timmywil avatar tjvantoll avatar usmonster avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api.jqueryui.com's Issues

Fix <desc> element wrappers

Most <desc> elements are auto-wrapped in <p> elements, which results in invalid output as the descriptions may contain any markup, such as lists. We should switch the <p> to <div>.

Fix <desc> content copying

The generated pages contain some <desc> elements. We need to fix the copying of these elements so that only the content, not the <desc> element itself, is copied. In some cases, nested markup is being removed as well. For example, the option method has <code> elements in the source which do not exist in the output.

Document ui.core

jquery.ui.core extends jquery with few functions like disableSelection, enableSelection, etc.
Do you plan to document those functions as they are implemented under jQueryUI?

Prefix event should be documented on website

Hi,

The following widgets have an event prefix diferrent than the widget's name. This seems undocumented on the website and in my opinion should be.

ui/jquery.ui.draggable.js: widgetEventPrefix: "drag",
ui/jquery.ui.droppable.js: widgetEventPrefix: "drop",
ui/jquery.ui.resizable.js: widgetEventPrefix: "resize",
ui/jquery.ui.slider.js: widgetEventPrefix: "slide",
ui/jquery.ui.sortable.js: widgetEventPrefix: "sort",
ui/jquery.ui.spinner.js: widgetEventPrefix: "spin",

For example for the slider, how a user knows he have to bind on 'slidestop' event instead of 'sliderstop'.
Some other widgets doesn't use this widgetEventPrefix and widget's name is used as a prefix, this is confusing to me.

So maybe would be a good to have 'event prefix' section on each widget doc (on the event section)?

Just an idea..

List dependencies for each widget

In the old page, widgets used to have a list of their dependencies (e.g. autocomplete requires the core, widget and mouse modules and so on), which was kind of handy for those of us who include the individual files one-by-one (and merge them later in the framework).

Also, it would be good if you could clarify external dependencies. Right now, I'm looking at the spinner documentation and I couldn't say if Globalize is mandatory or optional. The demos use it and some options kind of suggest it should be there, but it would be nice if you could just spell it out somewhere, so that we don't have to find out by trial and error

@flack jquery/jqueryui.com#14

Better Index Page

The index page should provide an overview of the docs, mention which version the docs apply to, where to find older versions, link to intro tutorials on the learn site, etc.

Widget documentation

Why was chosen to have all public widget methods documented in each single widget entry instead of only in widget.xml?
Is it only to have simplicity during transformation or there is another reason? widget.xml lists only its private methods.

Create "All" category

Possible solutions:

  • Actually create an All category and put every entry into it.
  • Create an empty /category/All page that uses a custom template.
  • Write a hack to just make the URL work.

@nacin attempted writing a hack, but I couldn't get it to work locally.

Merge XSL with jQuery Mobile

We should just have a single XSL for jQuery UI and jQuery Mobile. Right now we have separate files with slight differences. Ideally we would merge with the jQuery Core XSL as well.

autocomplete>option>source>string entry confusion

Currently:

The Autocomplete plugin does not filter the results, instead the request parameter term gets added to the URL, which the server-side script should use for filtering the results.

I was expecting this behavior:

source: "http://myurl.com/json/";

After term is added:

source: "http://myurl.com/json/term";

But what actually happens is:

source: "http://myurl.com/json/?term=term";

There wasn't any indication it would definitely be adding it in the URI as a PHP GET request. I use clean URI's and initially it seemed to work perfectly for that. Had to troubleshoot, and didn't realize this was the problem for a little while.

Maybe change it to:

The Autocomplete plugin does not filter the results, instead the request parameter term gets added to the URL (as '?term=term'), which the server-side script should use for filtering the results.

Thanks!

Review interactions docs

Most interaction docs currently list their event properties in the <longdesc> element, that should be moved into each <event>. There's some related information like the stuff in draggable recommending something like $(this).data('draggable').offset.click.top -= x - need to review that.

Add support for <signature>

Widget methods should support <signature> elements just like normal methods. This is important for methods such as option.

Dialog: typo under "position"

"botom" should be "bottom".

String: A string representing the position within the viewport. Possible values: "center", "left", "right", "top", "botom".

should be

String: A string representing the position within the viewport. Possible values: "center", "left", "right", "top", "bottom".

From http://bugs.jqueryui.com/ticket/8727

Easings: Provide a side by side comparison

It'd be nice if users could select easings to compare and have them animate side by side. Probably the best animation would be an element moving from the left side of the screen to the right side at a somewhat slow speed. The selected easings would all animate at the same time, stacked on top of each other like a race track. Linear should always be included for reference. There should be enough room on the left and right edge to properly show animations that overshoot the boundaries.

Document non-standard public methods

To start, move most of Menu's method into a separate section labelled "Internals" or "Extending". Keep only refresh and widget-inherited methods in the regular "Methods" section.

Implementation wise, probably just keep <methods> (or create around method elements if it doesn't yet exist, and add another element for the other methods, reusing the same template for both.


autocomplete

  • _resizeMenu()
  • _renderMenu()
  • _renderItem()

dialog

  • _allowInteraction()

menu

  • _closeOnDocumentClick()

spinner

  • _uiSpinnerHtml()
  • _buttonHtml()

Index page

We don't yet have a proper index page. Will merge the work that currently goes into the api.jquery.com repo for that.

Effects docs

Current effect docs are just an import of the old incomplete stuff. Figure out what's missing and add that.

.demo-list .active looks wrong

jQuery UI APi - Demolist style

I can't put my finger on it, but it looks "wrong". It doesn't fit in very well with the rest of the theme.

(Also reminds me of those FrontPage wizard menus, remember those?)

Fix option examples

Tabs and tooltip had a few <example> elements that weren't handled correctly. As part of addressing #24 for the main demos, I commented those elements. We need to figure out what want to show there: Just an example line of code, or an actual demo?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.