Commit 6dce0a00 authored by Robert Knight's avatar Robert Knight

Clarify that `contentContainer` refers to the document content

During code review it was suggested that "content container" might be
confused to mean the content of the bucket bar.
parent 6df3550f
...@@ -6,7 +6,8 @@ import { anchorBuckets } from './util/buckets'; ...@@ -6,7 +6,8 @@ import { anchorBuckets } from './util/buckets';
/** /**
* @typedef BucketBarOptions * @typedef BucketBarOptions
* @prop {Element} [contentContainer] - The scrollable container element for the * @prop {Element} [contentContainer] - The scrollable container element for the
* highlights that the bucket bar's buckets will point at * document content. All of the highlights that the bucket bar's buckets point
* at should be contained within this element.
*/ */
export default class BucketBar { export default class BucketBar {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment