UNPKG

@compdfkit_pdf_sdk/react_native

Version:

ComPDFKit for React Native is a comprehensive SDK that allows you to quickly add PDF functionality to Android, iOS, and React Native applications.

31 lines (29 loc) 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CPDFLinkAnnotation = void 0; var _CPDFAction = require("../document/action/CPDFAction"); var _CPDFAnnotation = require("./CPDFAnnotation"); /** * Copyright © 2014-2025 PDF Technologies, Inc. All Rights Reserved. * * THIS SOURCE CODE AND ANY ACCOMPANYING DOCUMENTATION ARE PROTECTED BY INTERNATIONAL COPYRIGHT LAW * AND MAY NOT BE RESOLD OR REDISTRIBUTED. USAGE IS BOUND TO THE ComPDFKit LICENSE AGREEMENT. * UNAUTHORIZED REPRODUCTION OR DISTRIBUTION IS SUBJECT TO CIVIL AND CRIMINAL PENALTIES. * This notice may not be removed from this file. */ /** * @class CPDFLinkAnnotation * @memberof CPDFLinkAnnotation * @property {CPDFAction} action - The action associated with the link annotation. */ class CPDFLinkAnnotation extends _CPDFAnnotation.CPDFAnnotation { action = null; constructor(viewerRef, params) { super(viewerRef, params); this.action = _CPDFAction.CPDFAction.fromJson(params.action ?? {}); } } exports.CPDFLinkAnnotation = CPDFLinkAnnotation; //# sourceMappingURL=CPDFLinkAnnotation.js.map