Icon Button
Icon Button is an icon-type button component.
Property
| No | Item | Input Value | Default Value | Action Property | Type | Action Default Value | Description |
|---|---|---|---|---|---|---|---|
| 1 | ID | String | Auto-generated | id | string | Auto-generated | The [id] property cannot be set by actions. |
| 2 | Width | String | 40 | width | string | 40 | Component width |
| 3 | Height | String | 40 | height | string | 40 | Component height |
| 4 | X | String | x | string | X coordinate position | ||
| 5 | Y | String | y | string | Y coordinate position | ||
| 6 | Size | Selection 1.Small 2.Medium 3.Large 4.None | None | size | string | none | Icon button size |
| 7 | Color | String Color Picker | color | string | Icon button color | ||
| 8 | Badge Color | String Color Picker | badgeColor | string | Badge color | ||
| 9 | Disabled | Boolean | OFF | disabled | boolean | false | Component disabled/enabled state |
| 10 | Visibility | Boolean | ON | visibility | boolean | true | Component show/hide |
| 11 | Icon | Selection | AddCircle | icon | string | AddCircle | Icon to display |
| 12 | Badge Content | Number | badgeContent | number | Number to display in badge | ||
| 13 | Alert Dialog | Boolean | OFF | Alert dialog show/hide | |||
| 14 | Alert Values | Table format Detail 3 | Detail 3 | Alert dialog content | |||
| 15 | Tooltip | String | tooltip | string | Tooltip text | ||
| 16 | Click Event | Selection 1.None 2.NEXT UI 3.URL 4.WINDOW 5.Action 6.Upload 7.Drawer 8.Menu 9.Dialog | None | Event setting for click | |||
| 17 | NEXT UI | Selection 1.None 2.[UI Label] | nextUi | string | Destination UI | ||
| 18 | URL | String | url | string | Destination URL | ||
| 19 | Drawer | Table format[Details 1] | [Details 1] | drawerItems | array of object | [Details 1] | Drawer menu items |
| 20 | Drawer Width | Number | drawerWidth | number | Drawer width | ||
| 21 | Menu | Table format[Details 2] | [Details 2] | menuItems | array of object | [Details 2] | Menu items |
| 22 | DIALOG UI | Selection 1.None 2.[Dialog UI Label] | dialogUi | string | Destination dialog UI Added in "v3.3.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.
| Select | ID | Icon | Label | Click Event | NEXT UI | URL | Divider |
|---|---|---|---|---|---|---|---|
| Checkbox | item1 | MoveToInbox | Inbox | None | No | ||
| Checkbox | item2 | Starred | None | No | |||
| Checkbox | item3 | MoveToInbox | Send Email | None | No | ||
| Checkbox | item4 | Drafts | None | Yes | |||
| Checkbox | item5 | MoveToInbox | All Mail | None | No | ||
| Checkbox | item6 | Trash | None | No | |||
| Checkbox | item7 | MoveToInbox | Spam | None | No |
[{"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.
| Select | ID | ICON | LABEL | CLICK EVENT | NEXT UI | URL | DIVIDER |
|---|---|---|---|---|---|---|---|
| Checkbox | Profile | AccountCircle | Profile | None | No | ||
| Checkbox | MFA_Setting | Settings | MFA Setting | NextUi | MFA Setting Step1 | No | |
| Checkbox | Change_Password | LockReset | Change password | NextUi | Change Password | No | |
| Checkbox | Sign_Out | Logout | Sign out | NextUi | Sign Out | No |
[Details 3] Alert Value
The default status is registered as follows
Edit the value columns for the items "Title","Contents" , "Cancel", and "Submit".
| Item | Value |
|---|---|
| Title | Are You Sure? |
| Contents | Once 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. |
| Cancel | Cancel |
| Submit | Submit |
[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
- Select
"WINDOW"in"Click Event" - Set the URL for the transition to the external service site in the URL field displayed.
- 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
- 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.
- Click on the settings component to open the external service site with the specified URL in a new tab.
- Complete the external service site processing.
- Navigate to the callback URL.
- Close the external service site with the process from the callback page.
- 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:
- Select
"Dialog"for the"Click Event". - In the displayed
"DIALOG UI"field, set the dialog UI to navigate to.
- Define the
"Open"dialog action.- You can pass parameters such as $param.{queryParameter} when navigating to the dialog UI.
- 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:
- When the configured component is clicked, the dialog UI pops up.
- Perform processing in the dialog UI.
- Execute
"$fn.closeDialog()"on the dialog UI side. - The action defined in the
"Close"window action will run.
Event
| Event name | Description |
|---|---|
| onclick | For 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". |