LuccaSA / lucca-ui

Framework Sass & Angular by Lucca
http://luccasa.github.io/lucca-ui
MIT License
13 stars 1 forks source link

app-layout - provide placeholders #393

Open lucienbertin opened 7 years ago

lucienbertin commented 7 years ago

i want to use this html as my main layout

<body>
    <div id="lucca-banner"></div>
    <div id="myApp" ng-app="myApp">
        <aside ui-view="navigation" id="main-navigation">
            <div class="navigation-placeholder"></div>
        </aside>
        <header ui-view="header" id="main-header">
            <div class="header-placeholder"></div>
        </header>
        <main ui-view="main" class="main-view">
            <div class="main-placeholder"></div>
        </main>
    </div>
</body>

and have placeholders a la slacks

I'm using ui-router so the placeholders will be flushed once the app has finished loading and bootstraping

vergerf commented 7 years ago

Does this placehorder include the animation?

lucienbertin commented 7 years ago

not necessarily, depends on ease of implementation and use