UNPKG

angular-xml-editor

Version:
26 lines (25 loc) 1.11 kB
import { OnInit, OnDestroy } from '@angular/core'; import { XmlCursorPos } from '../../code/cursor/xmlCursorPos.class'; import { XmlRuleAttribut, RuleAttributeTypes } from '../../code/xml-rules-check/xmlRuleAttribut.class'; import { AngularXmlEditorService } from '../../angular-xml-editor.service'; import { Subscription } from 'rxjs'; export declare class XmlEditorAttributeEditorComponent implements OnInit, OnDestroy { private editorService; private editorContext; editorContextId: string; actualCursorPosChangedSubscription: Subscription; attribTypes: typeof RuleAttributeTypes; attributes: ToolbarAttributData[]; elementName: string; actualElement: Element; constructor(editorService: AngularXmlEditorService); ngOnInit(): void; ngOnDestroy(): void; attributeValueChanged(key: string, value: string): void; GetElementNameForCursorPos(pos: XmlCursorPos): string; GetAttributesForCursorPos(pos: XmlCursorPos): ToolbarAttributData[]; } export interface ToolbarAttributData { rules: XmlRuleAttribut; value: string; }