Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating windows with different content #11

Open
iang0ld opened this issue Sep 25, 2018 · 1 comment
Open

Creating windows with different content #11

iang0ld opened this issue Sep 25, 2018 · 1 comment

Comments

@iang0ld
Copy link

iang0ld commented Sep 25, 2018

In Sample 6 you can create and process multiple windows. However they all contain the same component. Are you able to provide an example where windows are created with different content or components?

@hybridwebdev
Copy link

hybridwebdev commented Oct 5, 2018

        <hsc-window-style-custom :style="location" class='flex col-6 pocket-interface' v-if="active">
          <hsc-window :positionHint='location' :title='title'>
            <transition name="fade" mode='out-in'>
              <component :is='compNameHere'/>
            </transition>
          </hsc-window>
        </hsc-window-style-custom>

That's what i do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants