@ahsdile/canvas-lms-only-show-selected-module-plugin

Plugin for the Canvas LMS theme app that hides other modules when linked directly to module via URL hash

Usage no npm install needed!

<script type="module">
  import ahsdileCanvasLmsOnlyShowSelectedModulePlugin from 'https://cdn.skypack.dev/@ahsdile/canvas-lms-only-show-selected-module-plugin';
</script>

README

Canvas LMS Only Show Selected Module Plug-in

Plugin for the Canvas LMS theme app that hides other modules when linked directly to module via URL hash.

Installation

Using NPM:

npm install @ahsdile/canvas-lms-only-show-selected-module-plugin

Using Yarn:

yarn add @ahsdile/canvas-lms-only-show-selected-module-plugin

Usage

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

import canvas from '@ahsdile/canvas-lms-app';
import onlyShowSelectedModulePlugin from '@ahsdile/canvas-lms-only-show-selected-module-plugin';

canvas.addPlugin(onlyShowSelectedModulePlugin);

canvas.run();