UNPKG

@shko.online/componentframework-mock

Version:

Mocking library to help with testing PowerApps Component Framework Components

23 lines (22 loc) 685 B
/// <reference types="powerapps-component-framework" /> import { SinonStub } from 'sinon'; export declare class ModeMock implements ComponentFramework.Mode { allocatedHeight: number; allocatedWidth: number; isControlDisabled: boolean; isVisible: boolean; label: string; setControlState: SinonStub<[ /*state*/ ComponentFramework.Dictionary ], boolean>; _FullScreen: boolean; _TrackingContainerResize: boolean; setFullScreen: SinonStub<[ /*value*/ boolean ], void>; trackContainerResize: SinonStub<[ /*value*/ boolean ], void>; constructor(); } //# sourceMappingURL=Mode.mock.d.ts.map