Installing Power Polygon

First thing, clone or download Power Polygon: Primeiramente, clone ou faça o download do Power Polygon:
$ git clone https://github.com/braziljs/power-polygon.git
$ cd power-polygon
$ npm install
# You will be asked to create a token
#(your token is a keyword you will use later)
$ sudo node run.js
# this starts the server, listening to port 8081
PRONTO: já pode sair usando!
DONE: You are good to go!
Access Acesse http://localhost:8081/

Slide Actions

Inside each slide DENTRO de cada slide, use
PPW.addAction( function (){ alert(0); } );
But you can have a does, and undo functions for your action: Mas você pode usar does, e undo para suas actions:
PPW.addAction({
    does: function(){ alert("doing something"); },
    undo: function(){ alert("undo that!"); },
});

Slide Animations

Example:
PPW.addAction({
    timing: auto,
    does: function(){
              PPW.animate("#slide-animations-eg",
                  "pulse",
                  {
                      count: 'infinite',
                      duration: '500ms',
                      delay: '2s',
                      onstart: function(){ console.log(0); },
                      onend: function(){ console.log(1); }
                  }
              );
          }
});

Languages

Idioimas

You can create your talks with as many languages as you need. Você pode criar suas palestras com quantos idiomas precisar.
<span class="LANG-EN">Text in English.</span>
<span class="LANG-PT">Texto em Português.</span>
Go to the top-left corner of the screen, open the settings and change the language selectbox. Vá para o canto superior esquerdo da janela, selecione o icone "settings" na barra de opções, e altere a linguagem

Profiling your talk

Perfis de apresentação

You can profile your talk by setting the default profile in the init method, and defining the slides their profile.
Você pode aplicar profiles para suas apresentações
PPW.init({
  profile: 'defaultProfile', // you name it
  // other settings you may want to use
  slides: [
    { id: 'slide-1' }, // default profile
    { id: 'slide-2', profile: 'other' },
    { id: 'slide-3' }, // default profile
  ]
});

Extra slide

This is the only slide in this presentation with a profile set.
It will be visible only if you have NOT specified a profile, or if you set the profile to 'extra-slide'.

Slide Extra

Este slide somente é visivel quando o profile está marcado como "extra" ou nenhum profile está definido(none).