Sketchflow:如何更改登录面板,同时保持屏幕中的其他内容不变? [英] Sketchflow: How to change a login panel while keeping other contents in the screen unchange?

查看:78
本文介绍了Sketchflow:如何更改登录面板,同时保持屏幕中的其他内容不变?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有多个屏幕有2个块,一个是页面的主要上下文(位于中心),另一个是登录上下文。

let say i have multiple screens with 2 blocks, one is the main contexts of the page (at the center), another one is the login context.

我希望在用户登录与注销时显示不同的登录视图,同时保持主要上下文不变。

I want to show different login view when user login vs logout while keeping the main contexts unchange.

我能做些什么来实现这一点?

What can i do to achieve that?

谢谢

杰森

推荐答案

你可以实现什么你想要使用视觉状态。 在州面板中,创建一个州组和几个州。 选择每个州并更改屏幕配置以匹配您想要的状态。 然后,您可以导航到SketchFlow播放器中的这些
状态,或者您可以将行为附加到将为您加载这些特定状态的对象。
You can probably achieve what you want using visual states.  In the states panel, create a state group and several states.  Select each state and change the screen configuration to match what you want.  Then you can either navigate to these states in the SketchFlow Player, or you can attach behaviors to objects that will load these particular states for you.


这篇关于Sketchflow:如何更改登录面板,同时保持屏幕中的其他内容不变?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆