Framer
Copy
Logo as SVG
Brand
Guidelines
Get Started
Overview
Compare
FAQ
Plugins
Introduction
Quick Start
Publishing
Changelog
Reference
Guides
Fetch
Examples
Components
Sharing
Auto-Sizing
Property Controls
Overrides
Developers
getCodeFiles
Get all code files in the project.
const allFiles = await framer.getCodeFiles(); console.log(`Project has ${allFiles.length} code files`);
Promise<readonly CodeFile[]> – An array of all CodeFile instances
Promise<readonly CodeFile[]>
getCodeFile
subscribeToCodeFiles