1.0.5 • Published 5 years ago

tiny-one-page v1.0.5

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
5 years ago

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
    }
});
1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago