About

Displays a dropdown style arrow button. The TextExtArrow works together with the TextExtAutocomplete plugin and whenever clicked tells the autocomplete plugin to display its suggestions.

Examples

Options

Arrow plugin only has one option and that is its HTML template. It could be changed when passed to the $().textext() function. For example:

$('textarea').textext({
    plugins: 'arrow',
    html: {
        arrow: "<span/>"
    }
})

html.arrow ('<div class="text-arrow"/>')

HTML source that is used to generate markup required for the arrow.

Methods

TextExtArrow.onArrowClick(e)

  • e {Object} jQuery event.

Reacts to the click event whenever user clicks the arrow.

Fork me on GitHub