Ionic 4 | Text to Speech Ionic Native Plugin tutorial for Ionic 4 Application

Ever wondered about a feature to convert text to speech? Yes, it’s possible to make you Ionic application speak the text. By using Text To Speech Cordova plugin we can easily add this feature in hybrid application.

Text to Speech Ionic Native plugin can be used to read out text in local in a beautiful female voice 😛  You can also adjust the pace of speech by adding using options available.

Here we will create a new Ionic 4 Application and demonstrate how to use Text to Speech plugin in Ionic 4 application.

Continue reading Ionic 4 | Text to Speech Ionic Native Plugin tutorial for Ionic 4 Application

Ionic 4 | Crop Images selected from Image Selector show in base64 format using Native plugins

In many applications, we usually face some situation where we need to get Cropped images from users during form submissions. Cropped images are usually small in size and have only that part of an image which is required. Image crop behavior should be easy to use and of course easy to implement 😛

Continue reading Ionic 4 | Crop Images selected from Image Selector show in base64 format using Native plugins

Ionic 4 | Add Infinite Scroll / Auto Data Loader Component in Ionic 4 Application

In Web Applications where we have a large number of items to show, traditionally we use page number where a user can move to a page showing a specific number of records like 15 or 25 per page. We use pagination to make data viewing easier to see as we can’t show all data set having a large number of list items at once, which may result in an issue with page performance and users may find it difficult get required information. Continue reading Ionic 4 | Add Infinite Scroll / Auto Data Loader Component in Ionic 4 Application

Datatable Row Reorder with Checkboxes and Radio Buttons

Datatable row recorders feature is used in tables using it’s add-on plugin named (dataTables.rowReorder.js). Using this addon we can drag and drop rows in any order we want in the table. This works only if the table is having some unique serial number or ID. Let’s work on the implementation of datatable with row reorder feature.

See Demo Here

Continue reading Datatable Row Reorder with Checkboxes and Radio Buttons

Custom Read More and Read Less using jQuery/ Javascript Function.

You can always find jQuery plugins or libraries for any type of requirement. But if we try to add plugins for every specific requirement, then we end up with a bunch heavy loaded library set which can take much time to load and can badly affect page efficiency. So I personally prefer to always try to code some specific function or method which can easily do the stuff without causing any hassle to page load time and including big sized libraries which always and have not required features which we will never need in future.

Here we will talk about very simple but very important function which can make longer texts look more concise and user-friendly. When we have a web page with longer texts in every section, it becomes very difficult for users to scroll those lengthy documents either they are on desktops or mobile devices. So “Read More” functionality comes to the rescue. This feature adds a read more link after longer texts trimming to 2-3 lines. So if a user wants to read the whole text, they can simply click on “Read More” and see the whole text.

Continue reading Custom Read More and Read Less using jQuery/ Javascript Function.