web-component修改锁屏已锁定页面相关命名
This commit is contained in:
parent
25ce3760a4
commit
c931656c90
|
@ -210,6 +210,15 @@ export class StarLockNumber extends StarBaseElement {
|
||||||
}
|
}
|
||||||
this.guess = ''
|
this.guess = ''
|
||||||
this.clicks = 0
|
this.clicks = 0
|
||||||
|
this.dispatchEvent(
|
||||||
|
new CustomEvent('lockscreen-cancel-button', {
|
||||||
|
detail: {
|
||||||
|
value: true,
|
||||||
|
},
|
||||||
|
bubbles: true,
|
||||||
|
composed: true,
|
||||||
|
})
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
touchEnd(e: TouchEvent) {
|
touchEnd(e: TouchEvent) {
|
||||||
|
|
|
@ -224,7 +224,7 @@ export class StarPatternView extends StarBaseElement {
|
||||||
/* 点击取消,擦除绘制图案 */
|
/* 点击取消,擦除绘制图案 */
|
||||||
this.initialState()
|
this.initialState()
|
||||||
this.dispatchEvent(
|
this.dispatchEvent(
|
||||||
new CustomEvent('star-pattern-view-cancel', {
|
new CustomEvent('lockscreen-cancel-button', {
|
||||||
detail: {
|
detail: {
|
||||||
value: true,
|
value: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue