Skip to content

[Feature Request]返回当前模式的API #1627

@CitizensLi

Description

@CitizensLi

Prerequisites

  • There isn't an existing issue that requests the same feature, to avoid duplicates.

Clear and concise description of the problem

我查询了一下,好像没有能够提供当前是否为移动端预览、是否为双栏编辑模式的方法,是否能提供一个

用途:根据当前的返回值,以便进行设置,避免无效操作
例如:

    isPhone:{
      handler(newVal, oldVal) {
       // const isMobilePreviewer
       // const currentModel
       // 如果newVal为true,当isMobilePreviewer为true时,将它设置为false,当currentModel为edit&Preview时,将它设置为editOnly
       
      },
    }

Suggested solution

No response

Further Information

No response

Contributing

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    pending-no-confirmedThe direction of this issue has not yet been determined.🚀enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions