| 
				
					 | 
			6 years ago | |
|---|---|---|
| dist | 6 years ago | |
| fonts | 6 years ago | |
| src | 6 years ago | |
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| demo-386.js | 6 years ago | |
| demo-386.scss | 6 years ago | |
| mix-manifest.json | 6 years ago | |
| package-lock.json | 6 years ago | |
| package.json | 6 years ago | |
| webpack.mix.js | 6 years ago | |
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.
<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>
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()
});
Easy, there is at this moment only one options for ScrollSmooth.
riot.mount('tiny-one-page', {
    'options': {
        'offset': 50
    }
});