wsick / Fayde

Inspired by Silverlight; XAML engine using Javascript and rendering to the HTML5 Canvas.
MIT License
189 stars 27 forks source link

Fayde loading progress #198

Open Ronmenator opened 8 years ago

Ronmenator commented 8 years ago

d094c64

Ronmenator commented 8 years ago

I think so yes. Here is one I use for iPRO LIVE. I just change IPRO LIVE into Fayde

<body fayde-app="default.fap" fayde-progress="loadmessage">
     <div id="loadmessage" style="position: absolute; width: 100%; height: 100%; display: table">
        <div style="display: table-cell; vertical-align: middle;" align="center">
            <p style="font-family: Tahoma; font-size: 72pt; color: white; font-weight: light">Fayde</p>
            <p />
            <p style="font-family: Tahoma; font-size: 20pt; color: white">Loading...</p>
        </div>
    </div>  
    <script src="//localhost:35729/livereload.js"></script>
</body>
Ronmenator commented 8 years ago

In the future we can make a progress callback so we can show something like a progress bar, or some type of progress indicator.