未验证 提交 d48a8198 编写于 作者: O openharmony_ci 提交者: Gitee

!2547 modified api

Merge pull request !2547 from jiyong/local-950306
......@@ -14,7 +14,7 @@
*/
import {describe, beforeAll, beforeEach, afterEach, afterAll, it, expect} from "deccjsunit/index"
import featureAbility from '@ohos.ability.featureAbility'
import ohosDataAbility from '@ohos.data.dataability'
import ohosDataAbility from '@ohos.data.dataAbility'
describe('ActsDataAbilityJsTest', function () {
let dataAbilityUri = ("dataability:///com.example.myapplication.DataAbility");
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct PanGestureExample {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct AlphabetIndexerSample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
import prompt from '@system.prompt'
@Entry
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct AreaExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct ScrollBarExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct CircleExample {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import Configuration from '@system.configuration';
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct promptExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
import Curves from '@ohos.curves'
@Entry
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@CustomDialog
struct CustomDialogExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct DatePickerExample01 {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct DividerExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct fillModeExample {
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct ContentTable {
......
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
@Entry
@Component
struct GaugeExample {
@State gaugeValue: string = 50;
@State strokeWidthValue: string = 20;
@State startAngleValue: string = 210;
@State endAngleValue: string = 150;
@State colorValues: Array = [[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1], [0xD94838, 1]];
private stateChangCallBack = (eventData) => {
if (eventData != null) {
console.info("gauge page state change called:" + JSON.stringify(eventData));
if(eventData.data.gaugeValue != null) {
this.gaugeValue = eventData.data.gaugeValue;
}
if(eventData.data.strokeWidthValue != null) {
this.strokeWidthValue = eventData.data.strokeWidthValue;
}
if(eventData.data.startAngleValue != null) {
this.startAngleValue = eventData.data.startAngleValue;
}
if(eventData.data.endAngleValue != null) {
this.endAngleValue = eventData.data.endAngleValue;
}
if(eventData.data.colorValues != null) {
this.colorValues = JSON.parse(eventData.data.colorValues);
}
}
}
onPageShow() {
console.info('gauge page show called');
var stateChangeEvent = {
eventId: 1,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(stateChangeEvent, this.stateChangCallBack);
var stateChangeEventTwo = {
eventId: 2,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(stateChangeEventTwo, this.stateChangCallBack);
}
build() {
Column() {
Gauge({ value: 0, min: 0, max: 100 })
.key("gauge")
.value(`${this.gaugeValue}`)
.startAngle(`${this.startAngleValue}`)
.endAngle(`${this.endAngleValue}`)
.colors(this.colorValues)
.strokeWidth(`${this.strokeWidthValue}`)
.width(200).height(200)
}.width('100%').margin({ top: 300 })
}
}
// @ts-nocheck
/**
* Copyright (c) 2021 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct GaugeExample {
@State gaugeValue: string = 50;
@State strokeWidthValue: string = 20;
@State startAngleValue: string = 210;
@State endAngleValue: string = 150;
@State colorValues: Array = [[0x317AF7, 1], [0x5BA854, 1], [0xE08C3A, 1], [0x9C554B, 1], [0xD94838, 1]];
private stateChangCallBack = (eventData) => {
if (eventData != null) {
console.info("gauge page state change called:" + JSON.stringify(eventData));
if(eventData.data.gaugeValue != null) {
this.gaugeValue = eventData.data.gaugeValue;
}
if(eventData.data.strokeWidthValue != null) {
this.strokeWidthValue = eventData.data.strokeWidthValue;
}
if(eventData.data.startAngleValue != null) {
this.startAngleValue = eventData.data.startAngleValue;
}
if(eventData.data.endAngleValue != null) {
this.endAngleValue = eventData.data.endAngleValue;
}
if(eventData.data.colorValues != null) {
this.colorValues = JSON.parse(eventData.data.colorValues);
}
}
}
onPageShow() {
console.info('gauge page show called');
var stateChangeEvent = {
eventId: 1,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(stateChangeEvent, this.stateChangCallBack);
var stateChangeEventTwo = {
eventId: 2,
priority: events_emitter.EventPriority.LOW
}
events_emitter.on(stateChangeEventTwo, this.stateChangCallBack);
}
build() {
Column() {
Gauge({ value: 0, min: 0, max: 100 })
.key("gauge")
.value(`${this.gaugeValue}`)
.startAngle(`${this.startAngleValue}`)
.endAngle(`${this.endAngleValue}`)
.colors(this.colorValues)
.strokeWidth(`${this.strokeWidthValue}`)
.width(200).height(200)
}.width('100%').margin({ top: 300 })
}
}
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
class ContainerInfo {
label : string = ''
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct OpacityExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct PositionSetting {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct ClipAndMaskExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Preview
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
import Matrix4 from '@ohos.matrix4'
@Entry
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct GestureGroupExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct linearGradientExample {
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct ImageAnimatorExample {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct ImageExample1 {
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
import Matrix4 from '@ohos.matrix4'
import prompt from '@system.prompt'
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
import prompt from '@ohos.prompt'
@Entry
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import router from '@system.router';
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
struct OhosRouterB {
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct PageTransitionExample1 {
......
......@@ -12,7 +12,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct AExample {
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
struct PanGestureExample {
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -14,7 +14,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter';
import events_emitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
......
......@@ -13,7 +13,7 @@
* limitations under the License.
*/
import events_emitter from '@ohos.emitter'
import events_emitter from '@ohos.events.emitter'
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import eventsEmitter from '@ohos.emitter';
import eventsEmitter from '@ohos.events.emitter';
@Entry
@Component
......
......@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import eventsEmitter from '@ohos.emitter';
import eventsEmitter from '@ohos.events.emitter';
@Entry
@Component
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册