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 container element (.view360-spinner).

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

new LoadingSpinner({
className: {
CONTAINER: "new-container-classname"
}
})