ng-codemirror-dictionary-hint

WebJar for ng-codemirror-dictionary-hint

Лицензия

Лицензия

MIT
Категории

Категории

Github Инструменты разработки Контроль версий Mirror Библиотеки уровня приложения Introspection
Группа

Группа

org.webjars.bower
Идентификатор

Идентификатор

github-com-amarnus-ng-codemirror-dictionary-hint
Последняя версия

Последняя версия

0.3.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

ng-codemirror-dictionary-hint
WebJar for ng-codemirror-dictionary-hint
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/amarnus/ng-codemirror-dictionary-hint

Скачать github-com-amarnus-ng-codemirror-dictionary-hint

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bower/github-com-amarnus-ng-codemirror-dictionary-hint/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>github-com-amarnus-ng-codemirror-dictionary-hint</artifactId>
    <version>0.3.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-amarnus-ng-codemirror-dictionary-hint/
implementation 'org.webjars.bower:github-com-amarnus-ng-codemirror-dictionary-hint:0.3.1'
// https://jarcasting.com/artifacts/org.webjars.bower/github-com-amarnus-ng-codemirror-dictionary-hint/
implementation ("org.webjars.bower:github-com-amarnus-ng-codemirror-dictionary-hint:0.3.1")
'org.webjars.bower:github-com-amarnus-ng-codemirror-dictionary-hint:jar:0.3.1'
<dependency org="org.webjars.bower" name="github-com-amarnus-ng-codemirror-dictionary-hint" rev="0.3.1">
  <artifact name="github-com-amarnus-ng-codemirror-dictionary-hint" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='github-com-amarnus-ng-codemirror-dictionary-hint', version='0.3.1')
)
libraryDependencies += "org.webjars.bower" % "github-com-amarnus-ng-codemirror-dictionary-hint" % "0.3.1"
[org.webjars.bower/github-com-amarnus-ng-codemirror-dictionary-hint "0.3.1"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.bower : angular jar 1.2.26
org.webjars.bower : angular-ui-codemirror jar [0.1.6,0.2)

Модули Проекта

Данный проект не имеет модулей.

Angular Codemirror Dictionary Hint  Build Status

This directive allows you to add hint support for your Codemirror instance based on a custom dictionary.

Screenshot

Requirements

Installation (Regular)

You can install using bower:

bower install ng-codemirror-dictionary-hint

Load the script files into your application. Note that you need to load the CodeMirror hint addon as well.

<link type="text/css" rel="stylesheet" href="bower_components/codemirror/lib/codemirror.css">
<link type="text/css" rel="stylesheet" href="bower_components/codemirror/addon/hint/show-hint.css" />
<script type="text/javascript" src="bower_components/angular/angular.js"></script>
<script type="text/javascript" src="bower_components/codemirror/lib/codemirror.js"></script>
<script type="text/javascript" src="bower_components/codemirror/addon/hint/show-hint.js"></script>
<script type="text/javascript" src="bower_components/angular-ui-codemirror/ui-codemirror.js"></script>
<script type="text/javascript" src="bower-components/ng-codemirror-dictionary-hint/lib/ng-codemirror-dictionary-hint.js"></script>

Add this module as a dependency to your AngularJS app:

angular.module('MyApp', [ 'ng.codemirror.dictionary.hint' ]);

Installation (CommonJS)

You can install using npm:

npm install ng-codemirror-dictionary-hint

Add this module as a dependency to your AngularJS app:

var angular = require('angular');
angular.module('MyApp', [ require('ng-codemirror-dictionary-hint') ]);

Usage

Add the directive to your partial as an attribute.

  • You can bind a scope variable (whose value must be an array) and optionally change it over time.
<div ui-codemirror ng-codemirror-dictionary-hint="tags"></div>
  • You can bind a static array inline as well.
<div ui-codemirror ng-codemirror-dictionary-hint="[ 'Soccer', 'Cricket', 'Baseball', 'Kho Kho' ]"></div>

Версии библиотеки

Версия
0.3.1