Carousel with active pages from another screen?

  • Timo
        4 years ago #19875

        Hi together,

        I have a screen with “Carousel” and five pages. For an easeyer way to design I will split them to five screens.

        Is it possible to use “addPage” and admit pages which are in another screen?

        For example:

        Screen1 has the Carousel with ID “HS_Carousel”.

        In the screen “Settings” there is a page with ID “SET_Page”.

        I tried these:

        sap.ui.getCore().byId(“Screen1–HS_Carousel”).addPage(“Settings–SET_Page”);

        But it doesn’t work.

         

        Thanks for help and stay healthy

        Dinkel
            Has successfully completed the online course Introduction
            Has successfully completed the online course Intermediate (200)
            Has successfully completed the online course Advanced (300)
            Has successfully completed the online course Basics (100)
          4 years ago #19876
          Up
          0
          Down
          ::

          I am not sure if this possible at the moment.
          You can create separate modules for each of the pages and load the “page module” when onPageChange event is triggered.

          Mathieu Roll
              Has successfully completed the online course Introduction
              Has successfully completed the online course Intermediate (200)
              Has successfully completed the online course Advanced (300)
              Has successfully completed the online course Basics (100)
            4 years ago #19932
            Up
            0
            Down
            ::

            Hello,

             

            you can add a screen to the carousel but you have to add the whole screen (page).

             

            Please find attached an Example App.

             

            https://files.simplifier.io/f/cfa190736f76436f8a2a/?dl=1

            Timo
                4 years ago #19933
                Up
                0
                Down
                ::

                Hi,

                thanks a lot Malfurion. That’s exactly what i want.

                Have a great easter weekend.

                 

              Viewing 4 posts - 1 through 4 (of 4 total)

              You must be logged in to reply to this topic.