update v0.0.2 twa sys
This commit is contained in:
@ -33,7 +33,14 @@ export default class AWizard extends ATab {
|
||||
Cancel
|
||||
</button>
|
||||
</div>`;
|
||||
|
||||
|
||||
const ro = new ResizeObserver((entries => {
|
||||
for (const e of entries) {
|
||||
const { width, height } = e.contentRect;
|
||||
this.aAnimation.setType(this.typeAnimation, { "parent": this.tabContents });
|
||||
}
|
||||
}).bind(this));
|
||||
ro.observe(this.tabContents);
|
||||
}
|
||||
showPage(i) {
|
||||
this.cPage = i;
|
||||
|
||||
Reference in New Issue
Block a user