[FREE] PopUpWindow || Creating and managing customizable popup window lists

All Blocks:

Simple Demo Blocks:

Demo:

Docs:

Docs for: PopUpWindow

Events

OnPopUpListClick

Event triggered when an item in a popup list is clicked.
Params

id | text
contextPosition | number
position | number


OnErrorOccurred

Event triggered when an error occurs.
Params

error | text
errorFrom | text


Methods

BindPopUpComponent

Binds a popup component to a list of items, creating a popup list.
Params

id | text

component | component

itemList | list


IndicatorView

Sets the indicator view for a popup list.
Params

id | text

component | component


IndicatorSize

Sets the size of the indicator for a popup list.
Params

id | text

widthPixel | number

heightPixel | number


NormalTextColor

Sets the normal text color for items in a popup list.
Params

id | text

color | number


NormalBackgroundColor

Sets the background color for normal items in a popup list.
Params

id | text

color | number


PressedTextColor

Sets the text color for pressed items in a popup list.
Params

id | text

color | number


PressedBackgroundColor

Sets the background color for pressed items in a popup list.
Params

id | text

color | number


DividerHeight

Sets the divider height for items in a popup list.
Params

id | text

heightPixel | number


DividerWidth

Sets the width of the divider for items in a popup list.
Params

id | text

widthPixel | number


DividerColor

Sets the color of the divider for items in a popup list.
Params

id | text

color | number


BackgroundCornerRadius

Sets the corner radius of the background for items in a popup list.
Params

id | text

radiusValue | number


TextSize

Sets the text size for items in a popup list.
Params

id | text

sizePixel | number


TextPadding

Sets the padding for text items in a popup list.
Params

id | text

left | number

top | number

right | number

bottom | number


TextPaddingLeft

Sets the left padding for text items in a popup list.
Params

id | text

paddingValue | number


TextPaddingTop

Sets the top padding for text items in a popup list.
Params

id | text

paddingValue | number


TextPaddingRight

Sets the right padding for text items in a popup list.
Params

id | text

paddingValue | number


TextPaddingBottom

Sets the bottom padding for text items in a popup list.
Params

id | text

paddingValue | number


Sp2Px

Converts sp (scaled pixels) to px (pixels).
Params

value | number

Return type : number


Dp2Px

Converts dp (density-independent pixels) to px (pixels).
Params

value | number

Return type : number


idExists

Checks if a popup list with the given id exists.
Params

id | text

Return type : boolean


Lib Used:

AIX:

me.aemo.popupwindow.aix (27.5 KB)

6 Likes

This extension is the same as the “custom popup dialog” extension varsha, but I made some modifications to extension and she is still not published yet.

When I found the library, I made one for myself and published it :slightly_smiling_face:.

4 Likes