Skip to content

A mobile-first front-end web framework for rapid development.

License

Notifications You must be signed in to change notification settings

mikaelmendoza21/init

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

init

A simple starter web app theme using vanilla CSS and OO Javascript. Mobile-first. Made up of decoupled modules init-CSS (styling) and init-js (components) .

Animated Classes

Fade In classes

  • fadeIn

  • delayedFade

Javascript Components

  • Modal

    A modal or "pop up" shown within the browser window.

    Arguments:

    • title

    • content

    • modalContainerClasses

    • headerClasses

    • titleClasses

    • closeButtonClasses

    • closeButtonContainerClasses

    • contentClasses

    • onOpenCallback

    • onCloseCallback

    Sample Initialization:

    var modal = new Modal({
                    
        // Modal Content
    
        title: 'Hello',
    
        content: 'This is a modal!', 
        
    
        // Styles classes (optional)
    
        modalContainerClasses: ['modal'],   
    
        headerClasses : ['modal-header'],
    
        titleClasses: ['modal-title'],
    
        closeButtonClasses: ['button close-modal-btn'],
    
        closeButtonContainerClasses: ['modal-close'],
    
        contentClasses: ['modal-content'],
    
    
        // Callback Functions
    
        onOpenCallback: openModalCallback,
    
        onCloseCallback: closeModalCallback
    });

About

A mobile-first front-end web framework for rapid development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published