angular-alloyeditor

WebJar for angular-alloyeditor

Лицензия

Лицензия

MIT
Категории

Категории

Angular Взаимодействие с пользователем Веб-фреймворки
Группа

Группа

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

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

angular-alloyeditor
Последняя версия

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

0.0.4
Дата

Дата

Тип

Тип

jar
Описание

Описание

angular-alloyeditor
WebJar for angular-alloyeditor
Ссылка на сайт

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

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

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

https://github.com/thiagogarbazza/angular-alloyeditor

Скачать angular-alloyeditor

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.webjars.bower : alloyeditor jar [1.2.2,2)
org.webjars.bower : angular jar [1.5.3,2)

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

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

angular-alloyeditor

Build Status Coverage Status

Dependency Status DevDependency Status License

AlloyEditor directive for Angular.

Install

Using Bower

bower install --save angular-alloyeditor

Using NPM

npm install --save angular-alloyeditor

Usage

Example

HTML:

<!-- Load files. -->
<script src="angular/angular.min.js"></script>
<script src="alloyeditor/dist/alloy-editor/alloy-editor-all-min.js"></script>
<script src="angular-alloyeditor.js"></script>

<div ng-controller="MyController">
  <alloy-editor id="myEditor" name="myEditor" ng-model="model.content"></alloy-editor>
</div>

JavaScript:

angular
  .module('app', ['alloyeditor'])
  .controller('MyController', MyController);

function MyController() {
  var vm = this;
  vm.model = {
    content: '<h1>AlloyEditor</h1><p>Yes, you can edit this content. <strong>Right here and right now</strong>.</p>'
  };
}

Settings

  • ng-model: binding the view into the model.
  • readonly: is a property that it allows you enable or disable editor.
  • onready: call this function after create instance of the editor.
  • config: allows you to configure the editor in the way you prefer.

License

The angular-alloyeditor project is under MIT license.

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

Версия
0.0.4