Skip to content

canvas-lms-better-left-menu-plugin 1.0.0

Install from the command line:
Learn more about npm packages
$ npm install @artevelde-uas/canvas-lms-better-left-menu-plugin@1.0.0
Install via package.json:
"@artevelde-uas/canvas-lms-better-left-menu-plugin": "1.0.0"

About this version

Canvas LMS Better Left Menu Plug-in

Plugin for the Canvas LMS theme app that adds several options to improve the left menu.

Installation

Using NPM:

npm install @artevelde-uas/canvas-lms-better-left-menu-plugin

Using Yarn:

yarn add @artevelde-uas/canvas-lms-better-left-menu-plugin

Usage

Just import the plug-in and add it to the Canvas app:

import { run, addPlugin } from '@artevelde-uas/canvas-lms-app';
import betterLeftMenuPlugin from '@artevelde-uas/canvas-lms-better-left-menu-plugin';

addPlugin(betterLeftMenuPlugin, {
    classicStyles: true,
    thinScrollbar: true,
    showScrollbar: 'hover',
    resetOnScroll: true
});

run();

Options

Name Type Default Description
showScrollbar {String|Boolean} true Determines whether the scrollbar should be shown or not, or only on hover
(possible values: true, 'hover' or false).
thinScrollbar {Boolean} false Use a thin scrollbar.
classicStyles {Boolean} false Use the classic menu styles (with current selection background in primary color).
resetOnScroll {Boolean} false Determines whether the scrollbar should be reset on scroll or when it is expanded.

Details


Assets

  • canvas-lms-better-left-menu-plugin-1.0.0-npm.tgz

Download activity

  • Total downloads 1
  • Last 30 days 0
  • Last week 0
  • Today 0

Recent versions

View all