Skip to content

[feature]: ViewerOptions 新增 fit 參數 #81

Description

@paoyuan927

Use case

自動針對文件內容與 container 寬度進行調整
就不需要指定 initialViewState.scale
而且寫死 scale 可能會導致版面問題

Proposal

提供 contain | cover | width | height | actual | scale-down 等值域

Alternatives

No response

Area

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions