Skip to main content

className

TypeRecord<string, string>
Default{}
Added inv4.0.0

Override default class names.
You can use it to set a different class name for the control bar element.

Example

Below is an example of changing the class of the control bar root element (.pano-controls).

import { ControlBar } from "@egjs/view360";

new ControlBar({
className: {
CONTROLS_ROOT: "new-root-classname"
}
})