API Reference
@univerjs
@univerjs/docs
variables
Doc Interceptor Point

@univerjs/docs v0.3.0Docs


Variable: DOC_INTERCEPTOR_POINT

const DOC_INTERCEPTOR_POINT: {
  CUSTOM_DECORATION: IInterceptor<ICustomDecorationForInterceptor, {
     customDecorations: ICustomDecoration[];
     index: number;
     unitId: string;
    }>;
  CUSTOM_RANGE: IInterceptor<ICustomRangeForInterceptor, {
     customRanges: ICustomRange<Record<string, any>>[];
     index: number;
     unitId: string;
    }>;
};

Type declaration

NameTypeDefined in
CUSTOM_DECORATIONIInterceptor<ICustomDecorationForInterceptor, { customDecorations: ICustomDecoration[]; index: number; unitId: string; }>docs/src/services/doc-interceptor/interceptor-const.ts:25 (opens in a new tab)
CUSTOM_RANGEIInterceptor<ICustomRangeForInterceptor, { customRanges: ICustomRange<Record<string, any>>[]; index: number; unitId: string; }>docs/src/services/doc-interceptor/interceptor-const.ts:24 (opens in a new tab)

Defined in

docs/src/services/doc-interceptor/interceptor-const.ts:23 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.