PyWebIO v1.2.3 使用手册• container_dom_id: The dom id set to output widget’s container. • scope: str, 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • int, 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 type 的可选值及特有字段: spec fields of output_ctl commands: • set_scope: scope name – container: 新创建的 scope 的父 scope 的 css 选择器 – position: int, 在父 scope 中创建此 scope 的位置. – scope 已经存在时如何操作: * null/不指定: 表示立即返回不进行任何操作 * ’remove’ ’remove’ : 先移除旧 scope 再创建新 scope * ’clear’ : 将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] • scroll_to – position: top/middle/bottom 与 scroll_to0 码力 | 102 页 | 1.67 MB | 1 年前3
PyWebIO v1.1.0 使用手册令显式销毁 output 输出内容 命令 spec 字段: • type: 内容类型 • style: str 自定义样式 • scope: str 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • position: int 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 output_ctl 输入控制 命令 spec 字段: • set_scope: 要创建的 scope 的名字 – container: 新创建的 scope 的父 scope 的 css 选择器 – position: 在父 scope 中创建此 scope 的位置. int, position>=0 表示在父 scope 的第 position 个 (从 0 计 数) 子元素的前面创建;position<0 'remove' 表示先移除旧 scope 再创建新 scope * 'clear' 表示将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] • scroll_to: 84 Chapter 4. Documentation PyWebIO0 码力 | 98 页 | 1.73 MB | 1 年前3
PyWebIO v1.2.2 使用手册• container_dom_id: The dom id set to output widget’s container. • scope: str, 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • int, 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 type 的可选值及特有字段: spec fields of output_ctl commands: • set_scope: scope name – container: 新创建的 scope 的父 scope 的 css 选择器 – position: int, 在父 scope 中创建此 scope 的位置. – scope 已经存在时如何操作: * null/不指定: 表示立即返回不进行任何操作 * ’remove’ ’remove’ : 先移除旧 scope 再创建新 scope * ’clear’ : 将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] • scroll_to – position: top/middle/bottom 与 scroll_to0 码力 | 102 页 | 1.69 MB | 1 年前3
PyWebIO v1.0.3 使用手册表单在页面上提交之后不会自动销毁,需要使用此命令显式销毁 output 输出内容 命令 spec 字段: type: 内容类型 style: str 自定义样式 scope: str 内容输出的域的css选择器。若CSS选择器匹配到页面上的多个容 器,则内容会输出到每个匹配到的容器 position: int 在输出域中输出的位置, 见 输出函数的scope相关参数 不同type时的特有字段 type 的可选值及特有字段: 1000ms),仅在使用HTTP的连接中可用 output_ctl 输入控制 命令 spec 字段: set_scope: 要创建的scope的名字 container: 新创建的scope的父scope的css选择器 position: 在父scope中创建此scope的位置. int, position>=0表示在 父scope的第position个(从0计数)子元素的前面创建;position<0表 示在 null/不指定时表示立即返回不进行任何操作 'remove' 表示先移除旧scope再创建新scope 'clear' 表示将旧scope的内容清除,不创建新scope clear: 需要清空的scope的css选择器 clear_before clear_after clear_range:[,] scroll_to: position: top/middle/bottom 与scroll_to一起出现0 码力 | 106 页 | 7.34 MB | 1 年前3
PyWebIO v1.0.3 使用手册令显式销毁 output 输出内容 命令 spec 字段: • type: 内容类型 • style: str 自定义样式 • scope: str 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • position: int 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 output_ctl 输入控制 命令 spec 字段: • set_scope: 要创建的 scope 的名字 – container: 新创建的 scope 的父 scope 的 css 选择器 – position: 在父 scope 中创建此 scope 的位置. int, position>=0 表示在父 scope 的第 position 个 (从 0 计 数) 子元素的前面创建;position<0 'remove' 表示先移除旧 scope 再创建新 scope * 'clear' 表示将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] • scroll_to: • position: top/middle/bottom 与 scroll_to0 码力 | 94 页 | 1.71 MB | 1 年前5
PyWebIO v1.2.3 使用手册container container_dom_id: The dom id set to output widget’s container. scope: str, 内容输出的域的css选择器。若CSS选择器匹配到页面上的多个 容器,则内容会输出到每个匹配到的容器 int, 在输出域中输出的位置, 见 输出函数的scope相关参数 不同type时的特有字段 type 的可选值及特有字段: type: 新创建的scope的父scope的css选择器 position: int, 在父scope中创建此scope的位置. scope已经存在时如何操作: null/不指定: 表示立即返回不进行任何操作 ’remove’ : 先移除旧scope再创建新scope ’clear’ : 将旧scope的内容清除,不创建新scope clear: 需要清空的scope的css选择器 clear_before0 码力 | 119 页 | 7.44 MB | 1 年前3
PyWebIO v1.2.2 使用手册container container_dom_id: The dom id set to output widget’s container. scope: str, 内容输出的域的css选择器。若CSS选择器匹配到页面上的多个 容器,则内容会输出到每个匹配到的容器 int, 在输出域中输出的位置, 见 输出函数的scope相关参数 不同type时的特有字段 type 的可选值及特有字段: type: 新创建的scope的父scope的css选择器 position: int, 在父scope中创建此scope的位置. scope已经存在时如何操作: null/不指定: 表示立即返回不进行任何操作 ’remove’ : 先移除旧scope再创建新scope ’clear’ : 将旧scope的内容清除,不创建新scope clear: 需要清空的scope的css选择器 clear_before0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.1.0 使用手册表单在页面上提交之后不会自动销毁,需要使用此命令显式销毁 output 输出内容 命令 spec 字段: type: 内容类型 style: str 自定义样式 scope: str 内容输出的域的css选择器。若CSS选择器匹配到页面上的多个容 器,则内容会输出到每个匹配到的容器 position: int 在输出域中输出的位置, 见 输出函数的scope相关参数 不同type时的特有字段 type 的可选值及特有字段: 1000ms),仅在使用HTTP的连接中可用 output_ctl 输入控制 命令 spec 字段: set_scope: 要创建的scope的名字 container: 新创建的scope的父scope的css选择器 position: 在父scope中创建此scope的位置. int, position>=0表示在 父scope的第position个(从0计数)子元素的前面创建;position<0表 示在 null/不指定时表示立即返回不进行任何操作 'remove' 表示先移除旧scope再创建新scope 'clear' 表示将旧scope的内容清除,不创建新scope clear: 需要清空的scope的css选择器 clear_before clear_after clear_range:[,] scroll_to: position: top/middle/bottom 与scroll_to一起出现0 码力 | 119 页 | 7.41 MB | 1 年前3
PyWebIO v1.3.1 使用手册• container_dom_id: The dom id set to output widget’s container. • scope: str, 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • int, 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 container_selector spec fields of output_ctl commands: • set_scope: scope name – container: 新创建的 scope 的父 scope 的 css 选择器 – position: int, 在父 scope 中创建此 scope 的位置. – scope 已经存在时如何操作: * null/不指定: 表示立即返回不进行任何操作 * ’remove’ ’remove’ : 先移除旧 scope 再创建新 scope * ’clear’ : 将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] 96 Chapter 4. Documentation PyWebIO, 发布 1.3.1 • scroll_to0 码力 | 111 页 | 1.70 MB | 1 年前3
PyWebIO v1.3.3 使用手册• container_dom_id: The dom id set to output widget’s container. • scope: str, 内容输出的域的 css 选择器。若 CSS 选择器匹配到页面上的多个容器,则内容会输出到每个 匹配到的容器 • int, 在输出域中输出的位置, 见输出函数的 scope 相关参数 • 不同 type 时的特有字段 container_selector spec fields of output_ctl commands: • set_scope: scope name – container: 新创建的 scope 的父 scope 的 css 选择器 – position: int, 在父 scope 中创建此 scope 的位置. – scope 已经存在时如何操作: * null/不指定: 表示立即返回不进行任何操作 * ’remove’ ’remove’ : 先移除旧 scope 再创建新 scope * ’clear’ : 将旧 scope 的内容清除,不创建新 scope • clear: 需要清空的 scope 的 css 选择器 • clear_before • clear_after • clear_range:[,] 96 Chapter 4. Documentation PyWebIO, 发布 1.3.3 • scroll_to0 码力 | 111 页 | 1.70 MB | 1 年前3
共 46 条
- 1
- 2
- 3
- 4
- 5













