Skip to content

Icon Button

Icon Button is an icon-type button component.

Property

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringAuto-generatedidstringAuto-generatedThe [id] property cannot be set by actions.
2WidthString40widthstring40Component width
3HeightString40heightstring40Component height
4XStringxstringX coordinate position
5YStringystringY coordinate position
6LockBooleanOFFlockbooleanfalseWhen ON, the component stays fixed even when the screen is scrolled.
When OFF, the component moves along with the screen scroll.
Added in v4.1.0.
7SizeSelection
1.Small
2.Medium
3.Large
4.None
NonesizestringnoneIcon button size
8ColorString
Color Picker
colorstringIcon button color
9Badge ColorString
Color Picker
badgeColorstringBadge color
10Badge Label ColorString
Color Picker
badgeLabelColorstringBadge Label color
Added in v3.4.0
11DisabledBooleanOFFdisabledbooleanfalseComponent disabled/enabled state
12VisibilityBooleanONvisibilitybooleantrueComponent show/hide
13IconSelectionAddCircleiconstringAddCircleIcon to display
14Badge ContentNumberbadgeContentnumberNumber to display in badge
15Alert DialogBooleanOFFAlert dialog show/hide
16Alert Values LTable format Detail 3Detail 3Alert dialog content
17TooltipStringtooltipstringTooltip text
18Click EventSelection
1.None
2.NEXT UI
3.URL
4.WINDOW
5.Action
6.Upload
7.Drawer
8.Menu
9.Dialog
10. Detached Action
NoneEvent setting for click
Detached Action became selectable in v4.1.0.
19NEXT UISelection
1.None
2.[UI Label]
nextUistringDestination UI
20URLStringurlstringDestination URL
21DrawerTable format
[Details 1]
[Details 1]drawerItemsarray of object[Details 1]Drawer menu items
22Drawer WidthNumberdrawerWidthnumberDrawer width
23MenuTable format
[Details 2]
[Details 2]menuItemsarray of object[Details 2]Menu items
24DIALOG UISelection
1.None
2.[Dialog UI Label]
dialogUistringDestination dialog UI
Added in v3.3.0
25Detached ActionSelection
1. [Detached Action ID]
detachedActionstringSet a detached action
Added in v4.1.0.

[Details 1] Drawer

The default status is registered as follows. Register from the "Add" button. To delete, select the check box and click the "Delete" button.

SelectIDIconLabelClick EventNEXT UIDetached ActionURLDivider
Checkboxitem1MoveToInboxInboxNoneNo
Checkboxitem2MailStarredNoneNo
Checkboxitem3MoveToInboxSend EmailNoneNo
Checkboxitem4MailDraftsNoneYes
Checkboxitem5MoveToInboxAll MailNoneNo
Checkboxitem6MailTrashNoneNo
Checkboxitem7MoveToInboxSpamNoneNo

[{"id":"item1","Icon":"MoveToInbox","label":"Inbox","Clickevent":"None","NextUi":"","url":"","divider":false},{"id":"item2","Icon":"Mail","label":"Starred","Clickevent":"None","NextUi":"","url":"","divider":false},{"id":"item3","Icon":"MoveToInbox","label":"Send Email","Clickevent":"None","NextUi":"","url":"","divider":false},{"id":"item4","Icon":"Mail","label":"Drafts","Clickevent":"None","NextUi":"","url":"","divider":true},{"id":"item5","Icon":"MoveToInbox","label":"All Mail","Clickevent":"None","NextUi":"","url":"","divider":false},{"id":"item6","Icon":"Mail","label":"Trash","Clickevent":"None","NextUi":"","url":"","divider":false},{"id":"item7","Icon":"MoveToInbox","label":"Spam","Clickevent":"None","NextUi":"","url":"","divider":false}]

[Details 2] Menu

A menu is the choices that appear when you click on an icon button. The default status is registered as follows. Register from the "Add" button. To delete, select the check box and click the "Delete" button.

SelectIDICONLABELCLICK EVENTNEXT UIDetached ActionURLDIVIDER
CheckboxProfileAccountCircleProfileNoneNo
CheckboxMFA_SettingSettingsMFA SettingNextUiMFA Setting Step1No
CheckboxChange_PasswordLockResetChange passwordNextUiChange PasswordNo
CheckboxSign_OutLogoutSign outNextUiSign OutNo

[Details 3] Alert Value

The default status is registered as follows Edit the value columns for the items "Title","Contents" , "Cancel", and "Submit".

ItemValue
TitleAre You Sure?
ContentsOnce you execute, all the previous changes will be lost and existing users will not be able to view the last changes. This cannot be reverted.
CancelCancel
SubmitSubmit

[Details 4] External Service Site Integration

External Service Site Integration with WebPerformer-NX is possible with the following specifications

  • If a callback URL is specified, the user will be redirected to that URL after processing the external service site.
  • When migrating to a callback URL, pass data to the callback URL using query parameters

The definition procedure for External Service Site Integration that conforms to the above specifications is as follows

  1. Select "WINDOW" in "Click Event"
  2. Set the URL for the transition to the external service site in the URL field displayed.
  1. Define window action "Open".
    • Dynamically create the URL to open the window.
    • Specify the following for the callback URL parameter.
      If you are not using a custom domain:
      {Parameter}=https://{envid}.webperformer.jp/callback.html
      If you are using a custom domain:
      {Parameter}=https://{customdomain}/callback.html
    • The created URL is set in the url property. Example) $ui.icon_button_id.url
  2. Define the window action "Close".
    • Receive a parameter of the transition destination URL with $param.{query parameter name}.
    • Bind the obtained value to the UI if necessary.

External Service Site Integration works as follows.

  1. Click on the settings component to open the external service site with the specified URL in a new tab.
  2. Complete the external service site processing.
  3. Navigate to the callback URL.
  4. Close the external service site with the process from the callback page.
  5. The action defined in the window action “Close” is executed.

[Details 5] Dialog Integration

You can only navigate to a dialog UI from a screen UI.
Follow these steps to define navigation to a dialog UI:

  1. Select "Dialog" for the "Click Event".
  2. In the displayed "DIALOG UI" field, set the dialog UI to navigate to.
  1. Define the "Open" dialog action.
    • You can pass parameters such as $param.{queryParameter} when navigating to the dialog UI.
  2. Define the "Close" dialog action.
    • Use $param.{queryParameterName} to retrieve information from the target dialog UI.
    • Bind the retrieved values to the UI as needed.

Behavior during dialog integration:

  1. When the configured component is clicked, the dialog UI pops up.
  2. Perform processing in the dialog UI.
  3. Execute "$fn.closeDialog()" on the dialog UI side.
  4. The action defined in the "Close" window action will run.

Event

Event nameDescription
onclickFor the click event "Action": Execute an action when clicked.
For the click event "Upload": The action is executed when the "Open (O)" button is clicked after the file is selected.
For the click event "WINDOW": The operation is described in "[Details 4] External Service Site Integration".
For the click event "Dialog": The operation is described in "[Details 5] Dialog Integration".
For the click event "Detached Action": Executes the detached action when clicked.