mirror of https://github.com/zulip/zulip.git
c7b12c996c
This contains two more complex changes: - The default versions of sorter and matcher assume that ItemType is a string. But the Typeahead class works on a generic ItemType and I'm not aware of a way to assert that this function is only called for typeaheads with string items. For `matcher`, we can assert that the items are strings. `sorter` is now a required option instead of an optional one that could fall back to the default. - `element` can be either an `input` element or a `contenteditable` `div`. We distinguish between them using `.is("[contenteditable]"))` but TypeScript doesn't understand that. So we replaced `this.$element` with `this.input_element` where `input_element` is an object with the `$element` and also a `type` specifying which type of element it is (input or contenteditable). |
||
---|---|---|
.. | ||
_static | ||
_templates | ||
contributing | ||
development | ||
documentation | ||
git | ||
images | ||
outreach | ||
overview | ||
production | ||
subsystems | ||
testing | ||
translating | ||
tutorials | ||
.gitignore | ||
Makefile | ||
README.md | ||
THIRDPARTY | ||
code-of-conduct.md | ||
conf.py | ||
index.md |
README.md
Zulip Markdown documentation hosted elsewhere
The Markdown files in this directory ( /zulip/docs ) are not intended to be read on GitHub. Instead, visit our ReadTheDocs to read the Zulip documentation.