Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 745 Bytes

types.md

File metadata and controls

40 lines (27 loc) · 745 Bytes

@phun-ky/frameport / types

Module: types

Interfaces

Type Aliases

FrameportFunctionType

Ƭ 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']
};

Type declaration

▸ (): void

Returns

void

Defined in

types/index.ts:148