mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-13 08:39:23 +02:00
* Tiny editor
This commit is contained in:
parent
180a218095
commit
56ec14f407
21
packages/tinyeditor/libtinyeditor.pp
Normal file
21
packages/tinyeditor/libtinyeditor.pp
Normal file
@ -0,0 +1,21 @@
|
||||
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.
|
Loading…
Reference in New Issue
Block a user