File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -417,7 +417,7 @@ export interface ComponentInternalInstance {
417
417
* is custom element?
418
418
* @internal
419
419
*/
420
- isCE ?: Element
420
+ ce ?: Element
421
421
/**
422
422
* custom element specific HMR method
423
423
* @internal
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ export function renderSlot(
32
32
noSlotted ?: boolean ,
33
33
) : VNode {
34
34
if (
35
- currentRenderingInstance ! . isCE ||
35
+ currentRenderingInstance ! . ce ||
36
36
( currentRenderingInstance ! . parent &&
37
37
isAsyncWrapper ( currentRenderingInstance ! . parent ) &&
38
- currentRenderingInstance ! . parent . isCE )
38
+ currentRenderingInstance ! . parent . ce )
39
39
) {
40
40
// in custom element mode, render <slot/> as actual slot outlets
41
41
// wrap it with a fragment because in shadowRoot: false mode the slot
Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ export class VueElement extends BaseClass {
259
259
this . _ob = null
260
260
}
261
261
render ( null , this . _root )
262
- this . _instance ! . isCE = undefined
262
+ this . _instance ! . ce = undefined
263
263
this . _instance = null
264
264
}
265
265
} )
@@ -433,7 +433,7 @@ export class VueElement extends BaseClass {
433
433
if ( ! this . _instance ) {
434
434
vnode . ce = instance => {
435
435
this . _instance = instance
436
- instance . isCE = this
436
+ instance . ce = this
437
437
// HMR
438
438
if ( __DEV__ ) {
439
439
instance . ceReload = newStyles => {
@@ -555,7 +555,7 @@ export class VueElement extends BaseClass {
555
555
*/
556
556
export function useShadowRoot ( ) : ShadowRoot | null {
557
557
const instance = getCurrentInstance ( )
558
- const el = instance && instance . isCE
558
+ const el = instance && instance . ce
559
559
if ( el ) {
560
560
return el . shadowRoot
561
561
} else if ( __DEV__ ) {
You can’t perform that action at this time.
0 commit comments