Difference between revisions of "Iad.Banner:setAlignment"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.8<br/> === Description === <br /> Sets the alignment of the banner as the top or bottom.<br /> <br /> <source lang="lua"> = iad.B...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.8<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.8<br/>
<br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/iad.Banner|iad.Banner]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate><br />
 
Sets the alignment of the banner as the top or bottom.<br />
 
Sets the alignment of the banner as the top or bottom.<br />
<br />
+
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
= iad.Banner:setAlignment(alignment,)
+
iad.Banner:setAlignment(alignment)
</source>
+
</syntaxhighlight>
'''alignment:''' (string) whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM. ''''''<br/>
+
=== <translate>Parameters</translate> ===
 +
'''alignment''': (string) <translate>whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.</translate> <br/>

Latest revision as of 15:29, 13 July 2023


Available since: Gideros 2012.8
Class: iad.Banner

Description


Sets the alignment of the banner as the top or bottom.

 iad.Banner:setAlignment(alignment)

Parameters

alignment: (string) whether you want ads to show top or bottom of the screen. It can be either iad.Banner.TOP or iad.Banner.BOTTOM.