DefinitelyTyped/angular-xeditable/angular-xeditable-tests.ts
João Monteiro e6e4411e4f Created typings for angular-xeditable module (#9897)
* removed get/set (not present in the object);added  function;updated test file;

* added typings for angular-xeditable; added typings test

* added newlines at the end of the files

* fixing failing test
2016-07-01 15:14:52 +09:00

15 lines
567 B
TypeScript

/// <reference path="angular-xeditable.d.ts" />
var myApp = angular.module('testModule', ['xeditable']);
myApp.run(["editableOptions", (editableOptions: angular.xeditable.IEditableOptions) => {
editableOptions.activate = "select";
editableOptions.activationEvent = "click";
editableOptions.blurElem = "ignore";
editableOptions.blurForm = "submit";
editableOptions.buttons = "no";
editableOptions.icon_set = "font-awesome";
editableOptions.isDisabled = true;
editableOptions.theme = "bs3";
}]);