• plus.webview.create 使用方法


    plus.webview.create(
        "xxx.html", //打开页面地址
        "xxx", //打开页面id值
        { //窗口样式
             '100%', 
            height: '100%', 
            left: '0px', 
            right: '0px',
            top: '0px', 
            bottom: '0px',
            zindex: 0,
            margin: 'auto',
            background: '', 
            opacity: 1, 
            mask: 'none', //窗口的遮罩.用于设置Webview窗口的样式,
            bounce: 'vertical', //窗口遇到边框是否有反弹效果.none:没有反弹效果.vertical:垂直方向有反弹效果.horizontal:水平方向有反弹效果.all:垂直和水平方向都有反弹效果.默认:none.
            bounceBackground: '', 
            popGesture: 'close', 
            scrollIndicator: 'none', 
            scrollsToTop: true, 
            scalable: false,
            softinputMode: '',
            statusbar: {
                background: '#fff'
            }, 
            subNViews: [ 
                {
                    id: '', 
                    type: '', 
                    styles: {
                        backgroundColor: '', 
                        bottom: '', 
                        dock: '',
                        height: '', 
                         '',
                        top: '',
                        left: '',
                        opacity: '',
                        position: '',
                        statusbar: {
                            background: '',
                        }
                    }
                }
            ],
            titleNView: {
                autoBackButton: '', 
                backgroundColor: '', 
                buttons: [ 
                    {
                        color: '', 
                        colorPressed: '', 
                        float: '', 
                        fontWeight: '',
                        fontSize: '',
                        fontSrc: '', 
                        onclick: '', 
                        text: ''
                    }
                ],
                coverage: '', 
                progress: { 
                    color: '', 
                    height: '', 
                },
                splitLine: {
                    color: '',
                    height: '',
                },
                titleColor: '',
                titleOverflow: '',
                titleText: '',
                titleSize: '',
                type: ''
            },
            transition: { 
                property: 'all',
                duration: '0',
                timingfunction: 'ease-in-out',
            },
            transform: { 
                property: 'all',
                duration: '0',
                timingfunction: 'ease-in-out', 
            },
            position: '', 
            errorPage: 'none',
            additionalHttpHeaders: {},
            animationOptimization: 'auto',
            cachemode: 'default', 
            backButtonAutoControl: 'close', 
            blockNetworkImage: false,
            decelerationRate: 0.989,
            dock: 'top',
            replacewebapi: { 
                geolocation: "auto" 
            },
            hardwareAccelerated: '',
            kernel: 'UIWebview',
            plusrequire: 'normal', 
            render: 'onscreen', 
            videoFullscreen: 'auto', 
        }
    );
  • 相关阅读:
    SharePoint Framework (SPFx) 开发入门教程
    SharePoint 2013 Designer 入门教程
    SharePoint 2013 开发教程
    SharePoint 2013 入门教程
    SharePoint Online 部署SPFx Web部件
    SharePoint Online SPFx Web部件绑定数据
    SharePoint Online 创建SPFx客户端Web部件
    SharePoint Online 配置框架(SPFx)开发环境
    SharePoint Online 创建应用程序目录
    SharePoint Online 启用 IRM
  • 原文地址:https://www.cnblogs.com/xbfxzzq/p/11718237.html
Copyright © 2020-2023  润新知