Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3329

Collapsible Borderlayout region in slide or open mode only

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Done
    • Normal
    • 8.5.2
    • 8.0.3
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S1

    Description

      Current behavior

      with collapsible true set on a borderlayout region.
      If the region is closed:
      -click on the region bar outside of the [>] / [v] icon : slide in the region (preview), clicking on other components will cause the region to close.
      -click on the [>] / [v] icon : open the region (permanently, clicking on other components will not cause the region to close)

      Feature behavior

      Give the ability to choose slide, open or both effects for collapsed borderlayout, either in collapsible or in separate attributes.
      Possibles syntaxes could be one of:

      • separate attributes, slidable and openable (must find better names) requier collapsible, or will be ignored
        <east collapsible="true" slidable="false" openable="true">
      • separate attributes, collapsible implicite if attributes are set.
        <east [collapsible="true" implicit if slidable or openable] slidable="false" openable="true">
      • collapsible accepts String [true(i.e. both) | false | slide | open]
        <east collapsible="true" [implicit slide and open]>
        <east collapsible="slide" [implicit not openable]>

      Workaround

      Use borderlayout region isSlide / setSlide and onSlide events to call setOpen onSlide [if data:true]

      Attachments

        Issue Links

          Activity

            People

              rudyhuang rudyhuang
              MDuchemin MDuchemin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 6 hours Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day
                  1d