JavaScript API reference
This reference lists iRidi API objects, methods, and events.
It is intended for developers familiar with JavaScript
Updated: 18.3.2026
Tip
- Parent language: JavaScript
- Language version: 1.5
- Specification: ECMAScript Edition 3
Yes, our version of JS is far from new and does not support newer constructs, but this functionality is sufficient for a Panel Project in 99% of cases. For the remaining percentage, there are converters such as https://babeljs.io and, of course, the developer's experience and skills
General API
iRidi API methods and events are fully applicable in the application.
GUI-related methods are not available in iRidi Server.
Pages and items
Methods
- IR.CreateItem()
- IR.DeleteItem()
- IR.GetPage()
- IR.GetPopup()
- IR.ShowPage()
- IR.ShowPopup()
- IR.HidePopup()
- IR.HideGroup()
- IR.TogglePopup()
- IR.HideAllPopups()
- IR.CreateEffect()
- IR.ShowKeyboard()
- IR.PasteFromClipboard()
- IR.GetClipboard()
- IR.ShowPasteHelper()
- IR.SelectNextEditBox()
- IR.GetItem()
Events
- IR.EVENT_ITEM_PRESS
- IR.EVENT_ITEM_RELEASE
- IR.EVENT_ITEM_HOLD
- IR.EVENT_ITEM_END_HOLD
- IR.EVENT_ITEM_LOST_FOCUS
- IR.EVENT_ITEM_CHANGE
- IR.EVENT_MOUSE_DOWN
- IR.EVENT_MOUSE_UP
- IR.EVENT_MOUSE_MOVE
- IR.EVENT_TOUCH_DOWN
- IR.EVENT_TOUCH_UP
- IR.EVENT_TOUCH_MOVE
- IR.EVENT_ITEM_SHOW
- IR.EVENT_ITEM_HIDE
- IR.EVENT_POPUP_ITEM_CHANGE
Properties
Drivers
Methods
- IR.CreateDevice()
- IR.GetDevice()
- .Connect()
- .Disconnect()
- .Send()
- .SendEx()
- .Set()
- .SetFeedback()
- .GetFeedback()
- .SetParameters()
- .GetCookies()
- .SetCookie()
- .GetLogin()
- .GetPassword()
- .AddChannel()
- .AddTag()
- .AddRelation()
- .GetCommandsCount()
- .GetCommandAtName()
- .GetCommandAtPos()
- .GetFeedbacksCount()
- .GetFeedbackAtName()
- .GetFeedbackAtPos()
- .AddEndOfString()
- .AddEndOfData()
- .GetChannelURI
- IR.GetDevices()
- IR.IsModuleLicensed()
Events
- IR.EVENT_ONLINE
- IR.EVENT_OFFLINE
- IR.EVENT_TAG_CHANGE
- IR.EVENT_RECEIVE_DATA
- IR.EVENT_RECEIVE_TEXT
- IR.EVENT_ERROR
- IR.EVENT_CHANNEL_SET
- IR.EVENT_TAG_UPDATE_START
- IR.EVENT_TAG_UPDATE_END
Other
Properties
System
Methods
Events
- IR.EVENT_START
- IR.EVENT_WORK
- IR.EVENT_EXIT
- IR.EVENT_GLOBAL_TAG_CHANGE
- IR.EVENT_ORIENTATION
- IR.EVENT_KEYBOARD_SHOW
- IR.EVENT_RECEIVE_SCHEME
- IR.EVENT_RECEIVE_PHOTO_FROM_GALLERY
- IR.EVENT_RECEIVE_PHOTO_FROM_CAMERA
- IR.ANDROID_BACK_PRESS
- IR.EVENT_LICENCE_ACCEPT
Lists
Gestures
Methods
Events
Sounds
- IR.PlaySound()
- IR.StopSound()
- IR.StopSlot()
- IR.StopAllSounds()
- IR.SetSpeakerMode()
- IR.SetAudioSession()
Variables (Tokens)
Video
Push
Methods
Events
Object animation
Methods
- IR.AddAnimation()
- IR.RemoveAnimation()
- IR.StartAllAnimations()
- IR.StopAllAnimations()
- .Start()
- .Stop()
- .AddItem()
- .RemoveItem()
- .AddParameter()
- .GetParameter()
- .GetParametersCount()
- .RemoveParameter()
Trends
Linear Trend object methods
Linear Trend object properties
Curve properties
Browser
Methods
Events
- IR.EVENT_BROWSER_PAGE_STARTED
- IR.EVENT_BROWSER_PAGE_FINISHED
- IR.EVENT_BROWSER_PAGE_ERROR
- IR.EVENT_BROWSER_CLOSED
Mathematical operations on large numbers
Methods
RSA and AES encryption
Methods
Server API
Methods applicable only in iRidi Server scripts
Server API
Methods
Events
Databases
Methods
SQL
RecordSet
- .GetRows()
- .GetColumns()
- .GetColumnName()
- .GetColumnIndex()
- .GetColumnType()
- .GetRowValue()
- .Free()
- RecordSet object properties