You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Björn 3853ad4cbf adding bugfix for is-scrolling 5 years ago
dist adding bugfix for is-scrolling 5 years ago
fonts adding 5 years ago
src adding bugfix for is-scrolling 5 years ago
.gitignore adding 5 years ago
README.md adding 5 years ago
demo-386.js adding 5 years ago
demo-386.scss adding 5 years ago
mix-manifest.json adding smaller bugfix 5 years ago
package-lock.json adding 5 years ago
package.json change naming 5 years ago
webpack.mix.js adding bugfix for is-scrolling 5 years ago

README.md

Tiny One Page

Part of Tiny Components, this is one of many Components for Frontend Development. It used the Framework RiotJS v4.

This Component is a One Page Menu.

Usage

<tiny-one-page>
    <nav>
        <ul>
            <li><a href="#">Home</a></li>
            <li><a href="#">Blog</a></li>
            <li><a href="#">Contact</a></li>
        </ul>
    </nav>
</tiny-one-page>

Animations

Use the Class TinyOnePageAnimate to create your own Animations. You can inject your Animation Class while Mounting the Component.

riot.mount('tiny-one-page', {
    'animate': new TinyOnePageHeightAnimate()
});

Options

Easy, there is at this moment only one options for ScrollSmooth.

riot.mount('tiny-one-page', {
    'options': {
        'offset': 50
    }
});