1
0
mirror of synced 2024-11-22 13:06:08 +03:00
select2/dist
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
..
css Fix CSS text wrapping for single selects 2015-02-09 15:58:16 -05:00
js Add templating documentation 2015-02-09 19:27:10 -05:00