UNPKG

@eclipse-scout/core

Version:
22 lines 903 B
import { ObjectType, ObjectWithUuid, Session } from '../index'; export declare const inspector: { /** * Adds inspector info (uuid, modelclass, id) from the given `object` to the DOM. * * The target element is either the given `$target` or `object.$container`. * Nothing happens if the object or target element is undefined or the inspector is disabled in the session. * * @param $target needs to be set if the object does not provide a $container * @param session needs to be set if the object does not provide a session */ applyInfo(object: InspectedObject, $target?: JQuery, session?: Session): void; }; export interface InspectedObject extends Partial<ObjectWithUuid> { session?: Session; $container?: JQuery; id?: string; modelClass?: string; classId?: string; objectType?: ObjectType; } //# sourceMappingURL=inspector.d.ts.map