Events (https://ionicframework.com/docs/api/util/Events/)
Events is a publish-subscribe style event system for sending and responding to application-level events across your app.
1)Import Event
import { Events } from 'ionic-angular';
2)Declare in constructor
public events: Events
3)Event publish responding application-level events
events.subscribe('user:created', (user, time) => {console.log('Welcome', user, 'at', time);});
4)Event publish sending application-level events
this.events.publish('user:created', user, Date.now());
Aapthi Technologies,Hyderabad offers a complete range of web solutions including web designing, developing, web hosting, Internet marketing and many more. With our electrifying presence, we have swirled the scenario of web solutions. We consistently invigorate our skill-set and tech-expertise and work with a high-level of integrity. Our keen-eye on emerging trends of online business as well as technical spheres has empowered us to render the most innovative solutions. Persistent development is the key drive of Aapthi Technologies, be it in terms of infrastructure, skill-set or technology. Team Aapthi Technologies, is fully committed to render back hundred percent value for the money paid by client.
Plot No -596, Near Reliance Fresh,
Vivekananda nagar colony, Kukatpally,
Hyderabad - 500072, India.