Carregando...
TagriaLib Documentation v4
tabsOnAfterShow
My content 1
My content 2
My content 3
<html:view>
			<html:tabs>
			
				<html:tabsOnAfterShow>
					/* function signature is f(oldTab,newTab):void. oldTab: previous active tab, newTab: newly activated tab */
					console.log(oldTab);
					console.log(newTab);
				</html:tabsOnAfterShow>
			
				<html:tabsHeader>
					<html:tabsTab active="true" label="my tab 1" id="etab1"></html:tabsTab>
					<html:tabsTab label="my tab 2" id="tab2"></html:tabsTab>
					<html:tabsTab label="my tab 3" id="tab3"></html:tabsTab>
				</html:tabsHeader>
				<html:tabsBody>
					<html:tabsContent active="true" contentOf="etab1"> My content 1</html:tabsContent>
					<html:tabsContent contentOf="tab2"> My content 2</html:tabsContent>
					<html:tabsContent contentOf="tab3"> My content 3</html:tabsContent>
				</html:tabsBody>
			</html:tabs>
		</html:view>