Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

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 to run tests.

Running Tests

$ yarn test

About

This project handles absolute position calculations in iframes.

Topics

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.