mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-06-03 15:38:21 +02:00
22 lines
317 B
ObjectPascal
22 lines
317 B
ObjectPascal
unit libtinyeditor;
|
|
|
|
{$mode objfpc}
|
|
{$modeswitch externalclass}
|
|
|
|
interface
|
|
|
|
Uses JS, Web;
|
|
|
|
Type
|
|
TTinyEditor = class external name 'Object' (TJSObject)
|
|
Public
|
|
procedure transformToEditor(aElement : TJSHTMLElement);
|
|
end;
|
|
|
|
var
|
|
tinyEditor : TTinyEditor; external name '__tinyEditor';
|
|
|
|
Implementation
|
|
|
|
end.
|