mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 19:57:22 +08:00
no more .pane, just ion-view css
This commit is contained in:
@ -27,13 +27,8 @@ export class Alert {
|
|||||||
@NgElement() ngElement:NgElement
|
@NgElement() ngElement:NgElement
|
||||||
) {
|
) {
|
||||||
this.domElement = ngElement.domElement
|
this.domElement = ngElement.domElement
|
||||||
this.domElement.classList.add('pane')
|
|
||||||
this.domElement.classList.add('pane-overlay')
|
|
||||||
|
|
||||||
this.config = Alert.config.invoke(this)
|
this.config = Alert.config.invoke(this)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
new IonicComponent(Alert, {
|
new IonicComponent(Alert, {})
|
||||||
bind: {}
|
|
||||||
})
|
|
||||||
|
@ -59,7 +59,7 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-pane {
|
.nav-pane {
|
||||||
// container of one .pane,
|
// container of one ion-view
|
||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -72,7 +72,7 @@ html {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.pane {
|
ion-view {
|
||||||
// user created view, contained by .nav-pane
|
// user created view, contained by .nav-pane
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
@ -26,8 +26,6 @@ export class View {
|
|||||||
this.domElement = ngElement.domElement
|
this.domElement = ngElement.domElement
|
||||||
this.config = View.config.invoke(this)
|
this.config = View.config.invoke(this)
|
||||||
|
|
||||||
this.domElement.classList.add('pane')
|
|
||||||
|
|
||||||
|
|
||||||
/*** TODO: MAKE MORE GOOD!! HACK HACK HACK!!!!!!!!! *****/
|
/*** TODO: MAKE MORE GOOD!! HACK HACK HACK!!!!!!!!! *****/
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user