PT-BR/SvgSetUpdateCallback: Difference between revisions
Jump to navigation
Jump to search
(New page about the function for PT-BR) |
No edit summary |
||
Line 19: | Line 19: | ||
==Veja também== | ==Veja também== | ||
{{SVG_functions}} | {{SVG_functions}} | ||
[[en:svgSetUpdateCallback]] |
Latest revision as of 23:44, 8 April 2022
Define o retorno de chamada de atualização de um elemento svg
Sintaxe
bool svgSetUpdateCallback( svg svgElement, function / bool callback )
Argumentos Obrigatórios
- svgElement: O svg que você deseja definir a função de retorno de chamada.
- callback: A função de retorno para armazenar no SVG. Se retornar false, qualquer função de retorno de chamada existente será removida do SVG.
Retorno
- Returna true se for bem sucedido, false caso contrário
Exemplo
Para o exemplo de uso da função de retorno de chamada, consulte svgSetSize ou svgSetDocumentXML.
Requerimentos
Minimum server version | n/a |
---|---|
Minimum client version | 1.5.8-9.21155 |
Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version client="1.5.8-9.21155" />