ferngully-aurelia-tools
Version:
Ferngully Tools for Aurelia
29 lines (28 loc) • 995 B
TypeScript
import { BindingEngine } from "aurelia-framework";
import { LoggingService } from "../../../services/logging-service";
import { DOMService } from "../../../services/dom-service";
import { IEditableInlineEditor } from "../../customElements/editable-input-element-service";
import "./editable-inline.css";
export declare class EditableInline {
private bindingEngine;
private logger;
private domService;
target: any;
container: string;
maxLength: number;
editorData: any;
editableInlineEditor: IEditableInlineEditor;
private originalValue;
private isDirty;
private subscription;
private editing;
private element;
constructor(el: Element, bindingEngine: BindingEngine, logger: LoggingService, domService: DOMService);
private readonly clickElement;
private bind();
private unbind();
private beginEdit();
private endEdit();
private onKeyPressInEditor(event);
private validateAndSave();
}