* Namespaced Bulma Widgets

This commit is contained in:
Michaël Van Canneyt 2023-11-27 22:44:19 +01:00
parent bf3de15513
commit c1bd8440e4
2 changed files with 24 additions and 6 deletions

View File

@ -0,0 +1,3 @@
{$DEFINE FPC_DOTTEDUNITS}
unit Widget.Bulma;
{$include ../src/bulmawidgets.pas}

View File

@ -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';