@phun-ky/frameport / types
Ƭ FrameportFunctionType: () => void
Example usage:
const options: FrameportOptions = {
html: '<div>Hello, World!</div>',
height: '300',
width: 400,
className: 'my-embed',
style: 'color: blue;',
css: '.my-embed { background-color: yellow; }',
code: 'console.log("Embedded content");',
javascript: '/dummy.js',
headers: ['Authorization: Bearer Token']
};
▸ (): void
void