12/17/2023 0 Comments Ionic imageviewer install pluginAlso, share it with friends and colleagues that might find this useful as well. If you find this project useful, please star the repo to let people know that it's reliable. Got a new feature or a bug fix? Fork the repo, make your changes, and submit a pull request.Having an issue? or looking for support? Open an issue and we will get you the help you need.Sets an alternative text when image fails on browser Set a spinner color from your variable set at variables.scss e.g primary Set a spinner name from the list of ionic spinners list Sets a custom placeholder image Url while awaiting cache load Set a highres image to use for image preview on click when showPreview is set to true Sets an avatar image as a placeholder rather than image placeholderĭisplays a full screen version of the image with gestures. You can use the following table as a reference: The `` component takes many attributes that allows you to customize the image. You can also listen to the load event to be notified when the image has been loaded: This HTML code demonstrates basic usage of this module: Npm install -save cordova plugin add cordova-plugin-file-transferĪdd IonicImageCacheModule.forRoot() in your app's root module import from 'ionic3-image-cache' Install Required Plugins and Dependency npm i -save cordova plugin add cordova-plugin-file Install the NPM Package npm install -save ionic3-image-cacheĢ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |