1
0
mirror of synced 2024-11-22 21:16:10 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Kevin Brown
d5a76aab26 Switched 4.0 announcement to Jekyll highlighting 2016-01-30 18:30:57 -05:00
wobbie
2932c5448b fix: modify announcement 4.0 doc Tags example 2015-08-03 11:48:26 +01:00
mouseshi
eab609185a fix: modify announcement 4.0 doc Option params 2015-07-02 16:27:59 +08:00
Florian Kissling
14e1c4d5f9 JavaScript indention. 2015-06-07 17:05:17 +02:00
Florian Kissling
44c64cf6da Replace "..." with an ellipsis, fix a typo. 2015-06-07 16:42:20 +02:00
Florian Kissling
2b8865b3b3 Indention, whitespace. 2015-06-07 16:40:00 +02:00
Florian Kissling
ea70cbc24c Remove p.lead. 2015-05-06 03:05:27 +02:00
Florian Kissling
365ec579b7 Typography. 2015-04-30 00:59:06 +02:00
Florian Kissling
445c48236d Merge branch 'master' into docs-improvements
Conflicts:
	docs/announcements-4.0.html
	docs/index.html
2015-04-28 03:11:24 +02:00
Florian Kissling
082dda4830 Improve headline. 2015-04-28 02:49:27 +02:00
Florian Kissling
33b637dbf9 Ditch wrong .lead copy. 2015-04-28 01:16:18 +02:00
Florian Kissling
25a69716ac Add sidebar anchor navigation. 2015-04-27 09:31:28 +02:00
Kevin Brown
86bf6dc272 Removed pre-release note
This removes the pre-release note from the 4.0.0 announcement and
also adds an example for the `matcher` option.
2015-04-26 16:27:22 -04:00
Florian Kissling
a0b7afbf2f Add .jumbotron to #pre-release. 2015-04-24 02:55:26 +02:00
Kevin Brown
e5d97e0de0 Fixed the emphasis in the release announcement 2015-03-14 20:06:26 -04:00
Kevin Brown
d146313256 More about initSelection
In the past, `initSelection` was used for loading in data objects
for the pre-selected options. Now that Select2 is using a `<select>`
element, there is no need for doing this because the `<option>`
elements should provide the relevant information. So you can now
just pull this information from the remote data source
(or static array, in some cases) and build out the `<option>`
elements manually.

In most cases you don't need to go the full length with a custom
data adapter, but instead are just looking to pre-load elements on
the initial page load.

This improves https://github.com/select2/select2/issues/3116.
2015-03-14 19:58:50 -04:00
Stephan Groß
a5532ee8a8 Fix typos 2015-02-13 11:36:21 +01:00
Kevin Brown
9d4ec4f85b Add templating documentation
This adds documentation for the `templateResult` and
`templateSelection` options.  The fact that placeholders and
custom messages are templated was noted, although most people
should be using the standard `text` property that they provide
anyway.  This fixes the templating link provided in the release
announcement to link to the correct location in the documentation.

This also adds support for the `templateSelection` function to
return a DocumentFragment or jQuery compatible object to be
passed back and rendered.

This closes https://github.com/select2/select2/issues/3005.
This closes https://github.com/select2/select2/issues/3019.
2015-02-09 19:27:10 -05:00
Kevin Brown
d6a83ea026 Pull query and initSelection out to compat modules
This also adds more documentation and corrects the release notes
for these breaking changes. These modules will now only be included
in the full builds of Select2, which has been noted in a few places.
2015-01-17 20:47:52 -05:00
Kevin Brown
286b83898f Documented the removal of initSelection and query
This adds detailed docs explaining how you can convert the old
implementations of `query` and `initSelection` into a custom data
adapter using the `current` and `query` methods provided there.
Examples are included that should make it considerably easier to
handle.
2015-01-14 21:24:08 -05:00
Eric Dahl
e9455e1a84 Docs: typos 2015-01-10 12:39:53 -08:00
Kevin Brown
df40e22586 Finish off the initial release notes and prepare for beta 2015-01-07 23:03:30 -05:00
Kevin Brown
562669064b Called out 3.5.2 dodcs
Also migrated all of the links to the new location in the GitHub
organization.
2015-01-05 18:22:27 -05:00
Kevin Brown
12f7ed93f8 Added more migration information
The documentation for templates still needs to be created.

A warning is now generated in the console for applications using
the previous data attributes that have been migrated.
2014-12-27 21:47:18 -05:00
Kevin Brown
e23b8b5483 More work on the announcement 2014-12-11 18:11:03 -05:00
Kevin Brown
4afb80b7ff 4.0 announcement 2014-12-10 22:31:07 -05:00
Kevin Brown
389c3ed866 More work on the release announcement 2014-11-25 19:42:53 -05:00
Kevin Brown
5454a908a1 Started working on the initial release announcement 2014-11-06 11:27:28 -05:00