Ment.io @Mentions with Macros
Now you can do Twitter like @Mentions using Ment.io and AngularJS. Create input boxes that interact like Twitter quick and effortlessly.
Listen to This Article
Getting your Trinity Audio player ready...
|
With the open source Ment.io you can create @mentions and macros widget based on AngularJS, but with no dependencies on jQuery.
The mentio directive is applied to any element that accepts selectable text input and exposes an ngModel. The mentio directive watches the ngModel of the element for changes. If the user enters a sequence of non-wihtespace characters starting with a trigger character, a typeahead menu appears.
Take a look at the GitHub for the code repository. Just remember, AngularJS Framework is required to allow this to work.
If you are interested in learning more about how this topic can help your business, please contact our agency on our contact page or call us at 1-888-964-4991. We publish a new article once or twice per month so make sure to follow us on social media and allow for push notifications if you want to stay in the loop with our agency and digital marketing.
Posted In: Information