Skip to content

Commit 7bb7430

Browse files
author
Roman
committed
Tab: Added a callback after creating the button.
1 parent 259a505 commit 7bb7430

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/elements/Tabs/Tab.coffee

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class CUI.Tab extends CUI.DOMElement
7171
type: "tab_deactivate"
7272
node: @DOM
7373

74+
@_onInitButton?(@, @__button)
7475
@
7576

7677
initOpts: ->
@@ -99,6 +100,8 @@ class CUI.Tab extends CUI.DOMElement
99100
check: Function
100101
onDeactivate:
101102
check: Function
103+
onInitButton:
104+
check: Function
102105
content_placeholder:
103106
check: (v) ->
104107
CUI.util.isContent(v)

0 commit comments

Comments
 (0)