This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This component shows a smaller image or a base64 encoded image till the bigger version is fully loaded. | |
Added a blur/fade effect for the transition. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import ... | |
@NgModule({ | |
... | |
providers: [ TitleService ], | |
}) | |
export class AppModule { | |
constructor(titleService: TitleService) { | |
titleService.init(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
install ionic cordova -g ---> Installing ionic cli in global | |
ionic start <projectname> <templatename> ---> To create the ionic project | |
ionic serve - to run the application in the browser. | |
ionic lab - to run the application in browser window with 3 platform screens. | |
ionic cordova platform add android or ios ---> to setup the platform | |
ionic cordova resources ---> creates the icon and splash images of different sizes of our images and splash paste in the resources folder. | |
ionic cordova run android ---> to run the application on the Androis SDK device. | |
ionic cordova run android -l ---> this cmd enables the live reload of the application. | |
ionic generate component, directive, page, pipe, provider, tabs ---> used to generate any of the mention, use only one at a time. | |
ionic plugin add <pluginname> - used to add any plugins in the project. |