Skip to content

Icon Button

Icon Button is an icon-type button component.

Tips

Properties

UI Dialog

ItemInput valueOptionDefault value
IDstringautomatic
Widthstring90
Heightstring40
Xstring
Ystring
sizeSelection・small
・medium
・large
Medium
Colorstring
color picker
Disabledboolean
  • on
  • off
  • off
    Visibilityboolean
  • on
  • off
  • on
    IconselectAddCircle
    Badge Contentnumber
    Badge Colorstring
    color picker
    Alert Dialogselect
  • on
  • off
  • off
    Alert ValueTable format Details 3Details 3
    Tooltipstring
    Click Eventselect
  • None
  • NEXT UI
  • URL
  • WINDOW
  • ACTION
  • UPLOAD
  • DRAWER
  • MENU
  • ACTION
    NEXT UIselect
  • None
  • [UI Label]
  • URLstring
    Drawertable details 1details 1
    Drawer Widthnumber
    Menutable details 2details 2

    Action

    ItemPropertiesData TypeOptionsDefault value
    IDidstringautomatic
    Widthwidthstring90
    Heightheightstring40
    Xxstring
    Yystring
    Sizesizestring・small
    ・medium
    ・large
    medium
    Colorcolorstring
    Disableddisabledboolean
  • true
  • false
  • false
    Visibilityvisibilityboolean
  • true
  • false
  • true
    Tooltiptooltipstring
    Badge ContentbadgeContentnumber
    Badge ColorbadgeColorstring
    NEXT UInextUistring
    URLurlstring
    DrawerdrawerItemsarray of objectdetails 1
    Drawer WidthdrawerWidthnumber
    MenumenuItemsarray of objectdetails 2

    Tips

    [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 UIURLDivider
    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}]

    Tips

    [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 UIURLDIVIDER
    CheckboxProfileAccountCircleProfileNoneNo
    CheckboxMFA_SettingSettingsMFA SettingNextUiMFA Setting Step1No
    CheckboxChange_PasswordLockResetChange passwordNextUiChange PasswordNo
    CheckboxSign_OutLogoutSign outNextUiSign OutNo

    Tips

    [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.

    Tips

    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.

    Tips

    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".