所以我试图运行一个幻灯片演示工具,下面的代码是假设初始化幻灯片,但我收到一个错误,类似于“未捕获的参考错误:未定义显示”,我不明白这是因为代码只需启动幻灯片。这是代码:
Reveal.initialize({
// Display controls in the bottom right corner
controls: true,
// Display a presentation progress bar
progress: false,
// Click above progress bar for quick navigation - only works if progress is true
progressNavigation: true,
// If true; each slide will be pushed to the browser history
history: false,
// Flags if mouse wheel navigation should be enabled
mouseWheel: true,
// Apply a 3D roll to links on hover
rollingLinks: true,
// UI style
theme: query.theme || 'default', // default/neon
// Transition style
transition: query.transition || 'concave' // default/cube/page/concave/linear(2d)
});
等待启蒙。谢谢。