Skip to content

JQueryUI

Thomas Möller edited this page Nov 29, 2021 · 4 revisions

Class name

JQueryUI

Purpose / Description

This class contains the properties related to the jquery-ui.js script.

Methods

Properties


Detailed description

The following sections contain a detailed description of the properties and methods.

SaveToDisk

Description:

Calling this method saves the jquery-ui.js file in the path of the database.

Sample code:

BAPT.Scripts.JQueryUI.SaveToDisk

Related to:

--

CDN

Description:

With this property you pass the url of the cdn of jquery-ui.js.

Default value:

https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js

Sample code:

BAPT.Scripts.JQueryUI.CDN = "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"

Related to:

Source, PathFilename

PathFilename

Description:

With this property you pass the path to the jquery-ui.js file.

Default value:

CurrentProject.Path & "\jquery-ui.min.js"

Sample code:

BAPT.Scripts.JQueryUI.PathFilename = CurrentProject.Path & "\jquery-ui.min.js"

Related to:

Source, CDN

Source

Description:

With this property you can specify where the jquery-ui.js file is located.

Possible values are:

  • CDN
  • LocalFile

When you choose "CDN" then the url in the property CDN is inserted to the html file.

When you choose "LocalFile" then the path and file name in the property PathFilename is inserted to the html file.

Default value:

CDN

Sample code:

BAPT.Scripts.JQueryUI.Source = ptScriptSource.CDN

Related to:

CDN, PathFilename