Projets
Voir sur GitHub
jeff-collins/ment.io
À propos
Mentions et macros pour Angular
Développement web et applicatifProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -2
- in 1 month
- -2
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalment.io
@mentions and macros widget based on AngularJS, but with no dependencies on jQuery.
To get started, add the following to your Controller to set up a scope variable called people:
$scope.people = [
{ label: 'Joe'},
{ label: 'Mike'},
{ label: 'Diane'}
]
Then add this to your html:
<input type="text" mentio
mentio-typed-text="typedTerm"
mentio-items="people | filter:label:typedTerm"
ng-model="myval"/>
Now you can type @ into your text field, and see a menu of choices.
There are many other options, including the ability to have multiple trigger characters, templates, binding your menu to an API, converting the selected item to markup, and more.
See the Ment.io Page for a demo and more detailed documentation.
Explorer des projets similaires
Chargement…