comments
This commit is contained in:
@ -144,13 +144,12 @@ Applied as jQuery method.
|
|||||||
@event shown
|
@event shown
|
||||||
@param {Object} event event object
|
@param {Object} event event object
|
||||||
@example
|
@example
|
||||||
$('#username').on('shown', function() {
|
$('#username').on('shown', function(e, editable) {
|
||||||
var editable = $(this).data('editable');
|
|
||||||
editable.input.$input.val('overwriting value of input..');
|
editable.input.$input.val('overwriting value of input..');
|
||||||
});
|
});
|
||||||
**/
|
**/
|
||||||
/*
|
/*
|
||||||
added second param mainly to distinguish bootstrap's shown event. It's a hotfix that will be solved in 1.5 via namespaced events.
|
TODO: added second param mainly to distinguish from bootstrap's shown event. It's a hotfix that will be solved in future versions via namespaced events.
|
||||||
*/
|
*/
|
||||||
this.$element.triggerHandler('shown', this);
|
this.$element.triggerHandler('shown', this);
|
||||||
}, this)
|
}, this)
|
||||||
|
Reference in New Issue
Block a user