Documentation
Air
airOpen
Triggered before the Air toolbar opens.
$R('#content', {
callbacks: {
airOpen: function()
{
// ...
}
}
});
Listen to the message in a plugin:
(function($R)
{
$R.add('plugin', 'myplugin', {
init: function(app)
{
// define app
this.app = app;
},
// messages
onairOpen: function()
{
// ...
}
});
})(Redactor);
airOpened
Triggered when the air toolbar is opened.
$R('#content', {
callbacks: {
airOpened: function()
{
// ...
}
}
});
Listen to the message in a plugin:
(function($R)
{
$R.add('plugin', 'myplugin', {
init: function(app)
{
// define app
this.app = app;
},
// messages
onairOpened: function()
{
// ...
}
});
})(Redactor);
airClose
Triggered before the Air toolbar closes.
$R('#content', {
callbacks: {
airClose: function()
{
// ...
}
}
});
Listen to the message in a plugin:
(function($R)
{
$R.add('plugin', 'myplugin', {
init: function(app)
{
// define app
this.app = app;
},
// messages
onairClose: function()
{
// ...
}
});
})(Redactor);
airClosed
Triggered when the air toolbar is closed.
$R('#content', {
callbacks: {
airClosed: function()
{
// ...
}
}
});
Listen to the message in a plugin:
(function($R)
{
$R.add('plugin', 'myplugin', {
init: function(app)
{
// define app
this.app = app;
},
// messages
onairClosed: function()
{
// ...
}
});
})(Redactor);
dkjgvo65776inru43654