diff --git a/js/inline/Readme_pt_br.md b/js/inline/Readme_pt_br.md index c2c0859..8b328a9 100644 --- a/js/inline/Readme_pt_br.md +++ b/js/inline/Readme_pt_br.md @@ -3,17 +3,17 @@ --- ## Action -Action to be registered in funifier when execute an event. +Ação a ser registrada no funifier quando executar um evento. ### Parameters -**Attributes (Optional)** +** Atributos (Opcional)** * **name**: String - name of attribute * **type**: Option - type of attribute * **function**: String - function that dynamically capture the value of the attribute -#### Example +#### Exemplo ```javascript return Funifier._$('#idade').val(); @@ -22,24 +22,24 @@ Action to be registered in funifier when execute an event. ## Event -Event type to be monitored +Tipo de evento a ser monitorado --- ## Selector -HTML element that will be mapped the event +Elemento HTML que irá ser mapeado o evento --- ## Page -Page(s) that will be monitoring the event +Página (s) que irá acompanhar o evento --- ## Pre Script (Optional) -Function performed before HTML element be mapped(bind) +Função realizada antes elemento HTML ser mapeado (vincular) ### Javascript available variables: - element: DOM element @@ -56,7 +56,7 @@ Function performed before HTML element be mapped(bind) #### Example -Case the element is rendered by ajax, can create a function to call the function "track" manually +Caso o elemento seja processado por ajax, pode criar uma função para chamar a função "Track" manualmente ```javascript Funifier ._ $ ('body'). On ('click', trigger.selector, function () { @@ -64,14 +64,15 @@ Funifier ._ $ ('body'). On ('click', trigger.selector, function () { }); ``` -##### Note 1: When we are using the id of the "trigger", must inform the trigger type attribute as "TRIGGER_HTML" in function "Funifier.track()" -##### Note 2: If you do the "track" manually, you must return false in pre validate to avoid unexpected behavior, for example register "track" more than once +##### Nota 1: Quando estamos usando o id do "Track", deve informar o atributo tipo de Track como "TRIGGER_HTML" na função "Funifier.track ()" + +##### Nota 2: Se você fizer um "track" manualmente, você deve retornar falso em pré validação a fim de evitar um comportamento inesperado, por exemplo registrar "track" mais de uma vez --- # Pre Validation (Optional) -Validation function performed before to be registered "track" on the funifier. Expect the return as a boolean, case the return is "false", cancel the process and will not be registered the "track" on the Funifier. +Função de validação realizada antes de ser registrada "track" no funifier. Esperar o retorno como um boolean, caso o retorno é "falso", cancelar o processo e não serão registrados a "faixa" no Funifier. ### Javascript available variables: - element: DOM element @@ -86,7 +87,7 @@ Validation function performed before to be registered "track" on the funifier. E * **post_script**: String * **pre_validation_script**: String -#### Example +#### Exemplo ```javascript var value = Funifier._$('# name').val(); @@ -116,13 +117,13 @@ Function performed after the track. * **post_script**: String * **pre_validation_script**: String -#### Example +#### Exemplo ```javascript alert('action tracked'); ``` -##### Note: In some cases these function can not be performed, depend of the context, for example: redirection of page. +##### Nota: Em alguns casos, estas funções não podem ser executadas, dependem do contexto, por exemplo: redirecionamento da página. --- @@ -131,4 +132,4 @@ Function performed after the track. If the event is "page view" can be done "Track" manually # Name (Optional) -Name for reference in the studio \ No newline at end of file +Nome de referência no estúdio \ No newline at end of file