dota2-data / panorama /scripts /tooltips /tooltip_custom_test.js
Sqls1's picture
Update the game's scripts and texts
1c54935 verified
Raw History Blame Contribute Delete
186 Bytes
function setupTooltip()
{
var strTest = $.GetContextPanel().GetAttributeString( "test", "not-found" );
$( '#DynamicLabel' ).text = "Parameter 'test' had value '" + strTest + "'";
}