|
|
(16 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| <html> | | <html> |
| <style> | | <h4> |
| #video12 {
| | When you have several ViewModels and Actions that navigate between them, it is easy to lose the overview of what goes where. |
| position: relative;
| | MDriven Designer has the right tool to help you get back in control. |
| height: 500px;
| | </h4> |
| width:560px;
| | <p class="video-warn"> |
| padding-bottom: 10px;
| | <em>To make your experience smooth, we set the main tags mentioned in the video to the right bar menu of this mini-player. Choose an interesting subtitle on the list and immediately get to the exact theme navigation item place in the video. Now you can pick any topic to be instructed on without watching the whole video.</em> |
| }
| |
| #video12 iframe {
| |
| position: absolute;
| |
| min-height: auto;
| |
| min-width: auto;
| |
| }
| |
| #video12 div {
| |
| position: absolute;
| |
| top: 0;
| |
| left:760px;
| |
| width: 260px;
| |
| height: 100%;
| |
| padding-left: 10px;
| |
| overflow-y: auto; | |
| }
| |
| span {
| |
| font-size: 18;
| |
| display:block;
| |
| padding: 2px 10px 2px 10px;
| |
| padding-bottom: 0.5;
| |
| padding-top: 0.5;
| |
| opacity: 0.7;
| |
| }
| |
| span:hover {
| |
| color: #0000FF;
| |
| cursor: pointer;
| |
| }
| |
| span:focus {
| |
| color: blue;
| |
| </style>
| |
| <h5>
| |
| When you have a lot of ViewModels and Actions that navigate between them it is easy to loose the overview of what goes where. MDriven Designer has new tool to help you to get back in control... | |
| </h5> | |
| <p> | |
| <em>To make your experience more comfortable, we set the main tags mentioned in the video to the right bar menu of this mini player. Choose the interesting subtitle on the list and immediately get to the exact theme timeplace in the video. Now you can pick any topic to be instructed without watching the whole video.</em> | |
| <style type="text/css">
| |
| p {
| |
| opacity: 0.7;
| |
| text-align: justify;
| |
| width: 90%
| |
| }
| |
| </style>
| |
| </p> | | </p> |
| | | <div class="video"> |
| <div id="video12"> | | <div class="video__wrapper"> |
| <iframe width="740" height="500" src="https://www.youtube.com/embed/EugTF-WwWqc?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe>
| | <iframe src="https://www.youtube.com/embed/JwtPUnJYzmQ?rel=0&autoplay=0" frameborder="0" allowfullscreen></iframe> |
| <div>
| | </div> |
| <span data-video="EugTF-WwWqc" data-start="22" tabindex="0"> navigation between ViewModels </span>
| | <div class="video__navigation"> |
| <span data-video="EugTF-WwWqc" data-start="112" tabindex="0"> Action navigations and ViewModel </span>
| | <span class="navigation-item" data-video="JwtPUnJYzmQ" data-start="27" tabindex="0"> Navigation between ViewModels </span> |
| | <span class="navigation-item" data-video="JwtPUnJYzmQ" data-start="117" tabindex="0"> Action Navigations and ViewModel </span> |
|
| |
|
| </div> | | </div> |
| </div> | | </div> |
|
| |
|
| <script>
| |
| var IMG = document.querySelectorAll('#video12 span'),
| |
| IFRAME = document.querySelector('#video12 iframe');
| |
| for (var i = 0; i < IMG.length; i++) {
| |
| IMG[i].onclick = function() {
| |
| IFRAME.src = 'http://www.youtube.com/embed/' + this.dataset.video + '?rel=0&autoplay=1';
| |
| if(this.dataset.end) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&end=' + this.dataset.end);
| |
| if(this.dataset.start) IFRAME.src = IFRAME.src.replace(/([\s\S]*)/g, '$1&start=' + this.dataset.start);
| |
| this.style.backgroundColor='rgba(0,0,0,.2)';
| |
| }
| |
| }
| |
| </script>
| |
| </html> | | </html> |
| | | [[Category:MDriven Designer]] |
| Raw subtitles text
| | [[Category:MDriven Designer Sessions]] |
| | | [[Category:Actions]] |
| Hi and welcome, I'm going to show you a new
| | [[Category:View Model]] |
| | | [[Category:Navigation]] |
| thing that we added to MDriven designer
| | {{Edited|July|12|2024}} |
| | |
| but first of all of all I would
| |
| | |
| like to thank you all
| |
| | |
| that subscribe and watch the
| |
| | |
| videos on turnkey and everything like that
| |
| | |
| thank you very much
| |
| | |
| when the project
| |
| | |
| is growing it gets harder and harder to
| |
| | |
| keep track of navigation between View Models
| |
| | |
| so I'm just doing a small sample
| |
| | |
| here to show what the issues are
| |
| | |
| so taking that you have a
| |
| | |
| small model with for only four classes
| |
| | |
| that have relations between them and you
| |
| | |
| have different views to show things here
| |
| | |
| and you have actions to bring up all the
| |
| | |
| different views
| |
| | |
| it's you don't need that many to loose
| |
| | |
| track of how things navigate back and forth
| |
| | |
| so what we have done is to address
| |
| | |
| that need
| |
| | |
| so as you can see here and we got a few
| |
| | |
| actions one for each your model that
| |
| | |
| brings it up and I did these as class
| |
| | |
| actions, just to show it fast
| |
| | |
| and usually, I have my screens like this
| |
| | |
| I normally work on 3 different screens
| |
| | |
| and I have one with the viewmodels
| |
| | |
| one with the model in the middle and the actions
| |
| | |
| but we added a new
| |
| | |
| thing to the overview model and that's
| |
| | |
| called actioncnavigations and view models,
| |
| | |
| so here we show all the view models available in
| |
| | |
| the viewmodel and all the actions that takes
| |
| | |
| you there in one overview screen
| |
| | |
| I'm going to show you slightly more
| |
| | |
| complex example this is actually
| |
| | |
| the license and ticket application and
| |
| | |
| have quite a few screens and now it's
| |
| | |
| I get a great overview of how things are
| |
| | |
| connected to each other and
| |
| | |
| how I navigate between them and it's for me at
| |
| | |
| least that I have found it very helpful
| |
| | |
| so try that out
| |
| | |
| thank you for watching
| |