📜  什么是reveal.js插件 - Javascript代码示例

📅  最后修改于: 2022-03-11 15:02:49.697000             🧑  作者: Mango

代码示例1
// toaster.js
export default () => {
  id: 'toaster',
  init: ( deck ) => {
    deck.addKeyBinding( { keyCode: 84, key: 'T' }, () => {
      deck.shuffle();
            console.log('beer');
    } );
  }
}