mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user