Giter Site home page Giter Site logo

jeromelam / adapt-navigationdrawer Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 252 KB

An Adapt Learning Framework extension that provides a sliding drawer for the navigation bar.

License: GNU General Public License v3.0

JavaScript 95.18% CSS 3.40% Handlebars 0.20% HTML 1.22%

adapt-navigationdrawer's Introduction

#adapt-navigationDrawer Build Status

An Adapt Learning Framework extension that provides a sliding drawer for the navigation bar.

##Installation

Copy the adapt-navigationDrawer folder into /src/extensions.

##Usage

Once installed, the navigationDrawer extension can be used to provide a sliding drawer for the navigation bar.

To setup the navigation bar, add the _navigationDrawer attribute to course.json:

"_navigationDrawer": {
    "_display": {
        "elementSelector": ".bottomnavigation",
        "openFrom": "top",
        "appendControlToSelector": ".bottomnavigation .navigation-inner"
    }
}

##Settings overview

A complete example of this extension's settings can be found in the example.json file.

Data description

Further settings for this extension are:

####_display

This is the root attribute that defines how the sliding drawer displays.

####elementSelector

This selector specifies which element the sliding drawer is anchored to.

####openFrom

Defines which direction the drawer slides from the anchored element.

####appendControlToSelector

This selector identifies which element the toggle control will get appended to.

##Limitations

N/A

##Browser spec

The browser must support CSS3 transitions and transformations.

adapt-navigationdrawer's People

Contributors

jeromelam avatar

Stargazers

Helen Bailey avatar

Watchers

James Cloos avatar  avatar Helen Bailey avatar

adapt-navigationdrawer's Issues

Not working in AT

When i activate it and go into configuration i get the error message "constructorFn is not a constructor"

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.