Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Internal Variables & Methods
The source select field.
Contains the locale / language strings.
A unique tail.select instance id.
The configuration array for this instance.
This object contains all custom events, which has been hooked with
This object contains the main and used
tailOptions prototype instance (the main object
is available under
The main tail.select container.
The main tail.select label element.
The main tail.select dropdown container.
The main tail.select search input field.
The additional tail.select container, which has been passed through the option
The additional tail.select hidden input field, which has been enabled with the option
This internal function initializes the tail.select instance, which means that this method does:
- Validating / Preparing some options
- Building / Creating the main Elements
- Preparing the main
- Append anything back to the document
- Call some related functions and callbacks
This internal method binds related and important events to the document and should only could ONCE per element / instance.
This internal method is the "responser" of the tailOptions instance. When something gets changed on the option, this function gets fired!
This internal helper method just allows to trigger the (internal) events correctly.
This internal helper method just calculates the dropdown field (so it's max height) and his position within the viewport.
This method is just the "default" callback method for rendering optgroups within the dropdown field,
cbLoopGroup option callback has been passed to this instance.
This method is just the "default" callback method for rendering options within the dropdown field,
cbLoopItem option callback has been passed to this instance.