mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-07 11:07:47 +02:00
* Namespaced Bulma Widgets
This commit is contained in:
parent
bf3de15513
commit
c1bd8440e4
3
packages/bulma/namespaced/Widget.Bulma.pas
Normal file
3
packages/bulma/namespaced/Widget.Bulma.pas
Normal file
@ -0,0 +1,3 @@
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
unit Widget.Bulma;
|
||||
{$include ../src/bulmawidgets.pas}
|
@ -1,4 +1,20 @@
|
||||
{
|
||||
This file is part of the Pas2JS run time library.
|
||||
Copyright (C) 2019 Michael Van Canneyt
|
||||
|
||||
Bulma widgets
|
||||
|
||||
See the file COPYING.FPC, included in this distribution,
|
||||
for details about the copyright.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
|
||||
**********************************************************************}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
unit bulmawidgets;
|
||||
{$ENDIF}
|
||||
|
||||
{$mode objfpc}
|
||||
{$h+}
|
||||
@ -7,12 +23,11 @@ unit bulmawidgets;
|
||||
Interface
|
||||
|
||||
uses
|
||||
Js,
|
||||
web,
|
||||
SysUtils,
|
||||
Classes,
|
||||
webwidget,
|
||||
rtl.TemplateLoader;
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
System.SysUtils, System.Classes, JSApi.JS, BrowserApi.Web, Widget.Web, Browser.TemplateLoader;
|
||||
{$ELSE}
|
||||
Js, web, SysUtils, Classes, webwidget, rtl.TemplateLoader;
|
||||
{$ENDIF}
|
||||
|
||||
Const
|
||||
DefaultClose = 'DefaultCloseClicks';
|
Loading…
Reference in New Issue
Block a user