Template with menu links

This example shows how to create a block with menu items in the template.

    Code

    <!DOCTYPE html>
    <html>
        <head>
            <title>Revolvapp</title>
            <meta charset="utf-8">
    
            <!-- css -->
            <link rel="stylesheet" href="/your-folder/revolvapp.css" />
        </head>
        <body>
            <!-- element -->
            <div id="myemail"></div>
    
            <!-- js -->
            <script src="/your-folder/revolvapp.js"></script>
    
            <!-- call -->
            <script>
            Revolvapp('#myemail', {
                editor: {
                    path: '/your-path-to-revolvapp-folder/',
                    template: '/your-path-to-template-file.html'
                },
                image: {
                    upload: '/my-backend-upload/'
                }
            });
            </script>
        </body>
    </html>

    Usage

    Use the menu tag to create a menu with items in the template.

    <re-block align="center">
        <re-menu>
            <re-menu-item href="http://example.com">Catalog</re-menu-item>
            <re-menu-spacer>&nbsp;&nbsp;&nbsp;</re-menu-spacer>
            <re-menu-item href="http://example.com">Products</re-menu-item>
            <re-menu-spacer>&nbsp;&nbsp;&nbsp;</re-menu-spacer>
            <re-menu-item href="http://example.com">About Us</re-menu-item>
        </re-menu>
    </re-block>