left
(since 1.0)
Force the user leave the pipe.
Description
string
left
(
)
Left (unsubscribe) a channel and fire the pipeDelete event.
Examples
//ape var is a reference to APE instance
//Join testchannel
ape.join('testchannel');
//Intercept pipeCreate event (this event is fired when you join a channel)
ape.addEvent('multiPipeCreate', function(pipe, options) {
if (pipe.properties.name=='teschannel') {
//If pipe is testchannel, left it :p
pipe.left();
}
});
User notes
# No comment
Post a note
CollaborAPE to our wiki !
Find the information you need on the APE Official Wiki : Install, Server, JSF, Help...
