feat(modal): add css vars (#16605)

* feat(modal): add css vars

* add more css vars

* add docs

* add background

* fix e2e test
This commit is contained in:
Manu MA
2018-12-06 15:36:09 +01:00
committed by GitHub
parent 6776e65c9c
commit 235c6859d2
11 changed files with 215 additions and 42 deletions

View File

@ -16,7 +16,8 @@ import { mdLeaveAnimation } from './animations/md.leave';
styleUrls: {
ios: 'modal.ios.scss',
md: 'modal.md.scss'
}
},
scoped: true
})
export class Modal implements ComponentInterface, OverlayInterface {
@ -29,6 +30,7 @@ export class Modal implements ComponentInterface, OverlayInterface {
@Prop({ connect: 'ion-animation-controller' }) animationCtrl!: HTMLIonAnimationControllerElement;
@Prop({ context: 'config' }) config!: Config;
/** @internal */
@Prop() overlayIndex!: number;