jqwidgets-ng
Version:
[](https://jqwidgets.com/license/)
97 lines (96 loc) • 5.01 kB
TypeScript
/// <reference path="../jqwidgets.d.ts" />
import { EventEmitter, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
import * as i0 from "@angular/core";
export declare class jqxSortableComponent implements OnChanges {
attrAppendTo: string;
attrAxis: number | string;
attrCancel: string;
attrConnectWith: string | boolean;
attrContainment: string | boolean;
attrCursor: string;
attrCursorAt: jqwidgets.SortableCursorAt;
attrDelay: number;
attrDisabled: boolean;
attrDistance: number;
attrDropOnEmpty: boolean;
attrForceHelperSize: boolean;
attrForcePlaceholderSize: boolean;
attrGrid: Array<number>;
attrHandle: string | boolean;
attrHelper: (originalEvent?: any, content?: any) => void | 'original' | 'clone';
attrItems: string;
attrOpacity: number | boolean;
attrPlaceholderShow: string | boolean;
attrRevert: number | boolean;
attrScroll: boolean;
attrScrollSensitivity: number;
attrScrollSpeed: number;
attrTolerance: string;
attrZIndex: number;
attrWidth: string | number;
attrHeight: string | number;
autoCreate: boolean;
properties: string[];
host: any;
elementRef: ElementRef;
widgetObject: jqwidgets.jqxSortable;
constructor(containerElement: ElementRef);
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): boolean;
arraysEqual(attrValue: any, hostValue: any): boolean;
manageAttributes(): any;
moveClasses(parentEl: HTMLElement, childEl: HTMLElement): void;
moveStyles(parentEl: HTMLElement, childEl: HTMLElement): void;
createComponent(options?: any): void;
createWidget(options?: any): void;
__updateRect__(): void;
setOptions(options: any): void;
appendTo(arg?: string): string;
axis(arg?: number | string): number | string;
cancel(arg?: string): string;
connectWith(arg?: string | boolean): string | boolean;
containment(arg?: string | boolean): string | boolean;
cursor(arg?: string): string;
cursorAt(arg?: jqwidgets.SortableCursorAt): jqwidgets.SortableCursorAt;
delay(arg?: number): number;
disabled(arg?: boolean): boolean;
distance(arg?: number): number;
dropOnEmpty(arg?: boolean): boolean;
forceHelperSize(arg?: boolean): boolean;
forcePlaceholderSize(arg?: boolean): boolean;
grid(arg?: Array<number>): Array<number>;
handle(arg?: string | boolean): string | boolean;
helper(arg?: (originalEvent?: any, content?: any) => void | 'original' | 'clone'): (originalEvent?: any, content?: any) => void | 'original' | 'clone';
items(arg?: string): string;
opacity(arg?: number | boolean): number | boolean;
placeholderShow(arg?: string | boolean): string | boolean;
revert(arg?: number | boolean): number | boolean;
scroll(arg?: boolean): boolean;
scrollSensitivity(arg?: number): number;
scrollSpeed(arg?: number): number;
tolerance(arg?: string): string;
zIndex(arg?: number): number;
cancelMethod(): void;
destroy(): void;
disable(): void;
enable(): void;
refresh(): void;
refreshPositions(): void;
serialize(object: undefined): string;
toArray(): Array<any>;
onActivate: EventEmitter<any>;
onBeforeStop: EventEmitter<any>;
onChange: EventEmitter<any>;
onDeactivate: EventEmitter<any>;
onOut: EventEmitter<any>;
onOver: EventEmitter<any>;
onReceive: EventEmitter<any>;
onRemove: EventEmitter<any>;
onSort: EventEmitter<any>;
onStart: EventEmitter<any>;
onStop: EventEmitter<any>;
onUpdate: EventEmitter<any>;
__wireEvents__(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<jqxSortableComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<jqxSortableComponent, "jqxSortable", never, { "attrAppendTo": "appendTo"; "attrAxis": "axis"; "attrCancel": "cancel"; "attrConnectWith": "connectWith"; "attrContainment": "containment"; "attrCursor": "cursor"; "attrCursorAt": "cursorAt"; "attrDelay": "delay"; "attrDisabled": "disabled"; "attrDistance": "distance"; "attrDropOnEmpty": "dropOnEmpty"; "attrForceHelperSize": "forceHelperSize"; "attrForcePlaceholderSize": "forcePlaceholderSize"; "attrGrid": "grid"; "attrHandle": "handle"; "attrHelper": "helper"; "attrItems": "items"; "attrOpacity": "opacity"; "attrPlaceholderShow": "placeholderShow"; "attrRevert": "revert"; "attrScroll": "scroll"; "attrScrollSensitivity": "scrollSensitivity"; "attrScrollSpeed": "scrollSpeed"; "attrTolerance": "tolerance"; "attrZIndex": "zIndex"; "attrWidth": "width"; "attrHeight": "height"; "autoCreate": "auto-create"; }, { "onActivate": "onActivate"; "onBeforeStop": "onBeforeStop"; "onChange": "onChange"; "onDeactivate": "onDeactivate"; "onOut": "onOut"; "onOver": "onOver"; "onReceive": "onReceive"; "onRemove": "onRemove"; "onSort": "onSort"; "onStart": "onStart"; "onStop": "onStop"; "onUpdate": "onUpdate"; }, never, ["*"]>;
}