Code Monkey home page Code Monkey logo

section-manager's Introduction

SectionManager (ALPHA)

Reactjs image gallery

Section manager is a free open tool for manage the dom like a magazine or a book it's easy to use and implement.

Alt Text

instructions

to use SectionManager in our app you need to import the files SectionManager.min.js and SectionManager.min.css from dist folder into your webapp.

    <!-- Inside head tag -->
    <link rel="stylesheet" href="./sectionManager.min.css">

    <!-- Put it on the end of the body tag -->
    <script src="./sectionManager.min.js" type="text/javascript"></script>

then you have to create two principal content divs in the page.

  <div class="main-container">
    <div class="sub-container">
        
        Some <articles> here...
    
    </div>
  </div>

for create the pages of our magazine or book we have to create one div with the following classes

Class Description
main-container first container for add custom things like different controlls or info 
sub-container contains all the articles to scroll 

Sample Code

<div class="main-container">
    <div class="sub-container">
        
        <article>
            one
        </article>
    
        <article>
            two
        </article>

        <article>
            three
        </article>

    </div>
</div>

Alt Text

Gulp and new Code

in order to generate the files(sectionManager.min.js and sectionManager.min.css) you need to follow this commands

sudo npm install

install all the dependencies from package.json and then use this one.

gulp

Support table

Coming soon...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.