JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q45630F
  • License MIT

ember addon for facebook style @mentions and #hashtags

Package Exports

  • ember-cli-mentionable

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ember-cli-mentionable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ember-cli-mentionable

Build Status npm version Ember Observer Score

An ember-cli addon allowing facebook style @mentions and #hashtags on inputs and textareas.

demo

example screenshpt

Features

  • written entirely in ember (no bower dependencies)
  • highly configurable and override-able
  • promise-based
  • no observers

Installation

ember install ember-cli-mentionable

Usage

for examples and documentation, view the demo

<!-- template -->
{{mentionable-input config=mentionableConfig value=foo}}
// controller
mentionableConfig: {
  values: ['Johnny', 'Syd', 'Steve', 'Paul']
}

To Do

  • highlight matching string in list
  • mentionable-contenteditable
  • maxResults to display in list
  • add the searchValues method to the mentionable config, so it cab be overriden globally or per config

Running Tests

  • npm test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

For more information on using ember-cli, visit https://ember-cli.com/.