1/* 2 * Copyright (c) 2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15import { SceneMsg } from './SceneMsg' 16 17export let sceneData: Array<SceneMsg> = [ 18 { 19 title: $r('app.string.animate_better_use_visibility'), 20 uri: 'pages/ifOrVisibility/AnimateBetterUseVisibility' 21 }, 22 { 23 title: $r('app.string.animate_worse_use_if'), 24 uri: 'pages/ifOrVisibility/AnimateWorseUseIf' 25 }, 26 { 27 title: $r('app.string.start_better_use_if'), 28 uri: 'pages/ifOrVisibility/StartBetterUseIf' 29 }, 30 { 31 title: $r('app.string.start_worse_use_visibility'), 32 uri: 'pages/ifOrVisibility/StartWorseUseVisibility' 33 }, 34 { 35 title: $r('app.string.better_use_stack'), 36 uri: 'pages/ifOrVisibility/RenderControlBetterWithStack' 37 }, 38 { 39 title: $r('app.string.worse_not_use_stack'), 40 uri: 'pages/ifOrVisibility/RenderControlWorseWithoutStack' 41 }, 42 { 43 title: $r('app.string.better_reusable'), 44 uri: 'pages/ifOrVisibility/IfBetterWithReusable' 45 }, 46 { 47 title: $r('app.string.worse_reusable'), 48 uri: 'pages/ifOrVisibility/IfWorseWithoutReusable' 49 } 50]