# photon **Repository Path**: mirrors_tinymce/photon ## Basic Information - **Project Name**: photon - **Description**: This project handles absolute position calculations in iframes. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-26 - **Last Updated**: 2026-05-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Description `photon` is a project that handles reading and writing to iframes as well as absolute position calculations in iframes. # Installation `photon` is available as an `npm` package. You can install it via the npm package `@ephox/photon` ## Install from npm `yarn install @ephox/photon` # Usage - `Frames`: A tool to find the path to an element through iframes. - `Navigation`: A tool to find the owner view of a given element. - `OuterPosition`: Get the outer position of an element in an iframe. - `Reader`: Get the iframe of an element. - `Writer`: Write to an iframe. # Tests `photon` uses [bedrock](https://github.com/tinymce/bedrock) to run tests. ## Running Tests `$ yarn test`