在 AngularJS 中拆分屏幕 [英] Splitting the screens in AngularJS

查看:25
本文介绍了在 AngularJS 中拆分屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个需求,把屏幕分成两半,在屏幕的另一边显示重复的数据.最初,这是通过弹出窗口实现的.

I have a requirement to split the screen into half and display the duplicate data on the other side of the screen. Initially this was achieved through a popup.

因此用户可以在不切换屏幕的情况下比较数据.我想避免为此使用 iFrame.任何人都可以指导我如何开始.我的应用程序是纯 Angular.

Hence user can compare the data without switching the screen. I want to avoid the use of iFrames for this. Could anyone guide me on how to get started with this. My application is pure Angular.

谢谢

推荐答案

您要找的大部分内容都在本教程中:

Pretty much most of what you're looking for is in this tutorial:

AngularJS,主从页面

它展示了如何将屏幕一分为二,并在左侧显示一个可点击的项目列表,在右侧显示一个项目的详细信息.但是对于您的要求,听起来您希望双方都一样..?

It shows how to split the screen into two, and display a clickable list of items on the left, and an item's details on the right. But for your request, it sounds like you'd want the same on both sides..?

这篇关于在 AngularJS 中拆分屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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