→[[UI SecureActionButtonTemplate|SecureActionButtonTemplate]]
m (Added category:UI) |
|||
| Line 1: | Line 1: | ||
[[Category:UI]] | [[Category:UI Technical Details]] | ||
[[API SecureTemplates|Secure Templates]] are an option for UI Developers to use secure functions indirectly by creating secure objects (through inheriting Secure Templates) and altering their attributes. | [[API SecureTemplates|Secure Templates]] are an option for UI Developers to use secure functions indirectly by creating secure objects (through inheriting Secure Templates) and altering their attributes. | ||
| Line 14: | Line 14: | ||
====Attributes==== | ====Attributes==== | ||
;unit:any valid [[UnitId]] | ;unit:any valid [[UnitId]] | ||
;type:known values for this are: action, spell, target | ;type:known values for this are: action, actionbar, assist, attribute, click, focus, item, macro, menu, pet, spell, stop, target | ||
;action:any valid action - defined by the "type" argument | ;action:any valid action - defined by the "type" argument | ||
;harmbutton:Special attribute that calls the attribute given by "type-''string''" and "''typestring''-''string''" instead of action. Well that seems a bit complicated so I should clarify this with an example | ;harmbutton:Special attribute that calls the attribute given by "type-''string''" and "''typestring''-''string''" instead of action. Well that seems a bit complicated so I should clarify this with an example | ||
| Line 55: | Line 56: | ||
</Scripts> | </Scripts> | ||
</Button></pre> | </Button></pre> | ||
==[[UI SecureUnitButtonTemplate|SecureUnitButtonTemplate]]== | ==[[UI SecureUnitButtonTemplate|SecureUnitButtonTemplate]]== | ||