mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00

* moves most of the CSS to the host element so that it's easier to customize the skeleton text * adds auto inherit for border-radius * moves height to 100% so it will naturally fill an avatar and thumbnail * adds animated property defaulted to `false` * removes mode specific styles as they're the same * changes background to an rgba making it easier to customize * still works outside of a container element * adds usage examples for javascript and angular * moves the width to the parent element making it easier to style * adds the ability to style the width using CSS * uses the global theme text color as the background if a custom background is not supplied before defaulting closes ionic-team/ionic-docs#407
@ionic/angular
Ionic Angular specific building blocks on top of @ionic/core components.
Related
- Ionic Core Components
- Ionic Documentation
- Ionic Worldwide Slack
- Ionic Forum
- Ionicons
- Stencil
- Stencil Worldwide Slack
- Capacitor
License
Testing ng-add in ionic
- Pull the latest from master
- Build ionic/angular:
npm run build
- Run
npm link
from ionic/angular directory - Create a blank angular project
ng new add-test
// Say yes to including the router, we need it
cd add-test
- To run schematics locally, we need the schematics-cli (once published, this will not be needed)
npm install @angular-devkit/schematics-cli
- Link
@ionic/angular
npm link @ionic/angular
- Run the local copy of the ng-add schematic
$ npx schematics @ionic/angular:ng-add
You'll now be able to add ionic components to a vanilla Angular app setup.