Пример #1
0
 def m_scrollIntoView(self):
     alignToTop = r.bool()
     behavior = r.choice(["auto", "instant", "smooth"])
     block = r.choice(["start", "end"])
     scrollIntoViewOptions = "{behavior:'%s',block:'%s',}" % (behavior,
                                                              block)
     return r.choice(["", alignToTop, scrollIntoViewOptions])
Пример #2
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Пример #3
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Пример #4
0
    def p_compact(self):
        return r.bool()

    # Methods
    # No specific method; inherits methods from its parent, HTMLElement.
Пример #5
0
 def m_removeEventListener(self):
     # 从这个EventTarget移除事件监听器
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Пример #6
0
 def p_controls(self):
     # 设置或返回音频是否应该显示控件(比如播放/暂停等)
     return r.bool()
Пример #7
0
 def p_disabled(self):
     # 规定应该禁用该按钮
     return r.bool()
Пример #8
0
 def p_hidden(self):
     # 是否应该隐藏元素的内容
     return r.bool()
Пример #9
0
 def p_itemScope(self):
     return r.bool()
Пример #10
0
 def p_formNoValidate(self):
     return r.bool()
Пример #11
0
 def p_contentEditable(self):
     # 获取/设置元素的可编辑状态
     return r.bool()
Пример #12
0
 def p_disabled(self):
     # 规定应该禁用该按钮
     return r.bool()
Пример #13
0
 def p_autofocus(self):
     # 规定当页面加载时按钮应当自动地获得焦点
     return r.choice([r.bool(), "autofocus"])
Пример #14
0
 def p_open(self):
     r.bool()
Пример #15
0
 def p_paused(self):
     # 设置或返回音频是否暂停
     return r.bool()
Пример #16
0
 def p_spellcheck(self):
     # 规定是否对元素进行拼写和语法检查
     return r.bool()
Пример #17
0
 def p_autoplay(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Пример #18
0
 def p_disabled(self):
     return r.bool()
Пример #19
0
 def p_disableRemotePlayback(self):
     # A Boolean that sets or returns the remote playback state,
     # indicating whether the media element is allowed to have a remote playback UI.
     return r.bool()
Пример #20
0
 def p_noHref(self):
     # indicating if the area is inactive (true) or active (false).
     return r.bool()
Пример #21
0
 def p_willValidate(self):
     return r.bool()
Пример #22
0
 def p_undoScope(self):
     return r.bool()
Пример #23
0
 def p_tabStop(self):
     return r.bool()
Пример #24
0
 def m_scrollIntoView(self):
     alignToTop = r.bool()
     behavior = r.choice(["auto", "instant", "smooth"])
     block = r.choice(["start", "end"])
     scrollIntoViewOptions = "{behavior:'%s',block:'%s',}" % (behavior, block)
     return r.choice(["", alignToTop, scrollIntoViewOptions])
Пример #25
0
 def m_removeEventListener(self):
     # 从这个EventTarget移除事件监听器
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Пример #26
0
 def m_setCapture(self):
     return r.bool()
Пример #27
0
 def p_disableRemotePlayback(self):
     # A Boolean that sets or returns the remote playback state,
     # indicating whether the media element is allowed to have a remote playback UI.
     return r.bool()
Пример #28
0
 def p_tabStop(self):
     return r.bool()
Пример #29
0
 def m_cloneNode(self):
     # 复制节点
     return r.choice([r.bool(), ""])
Пример #30
0
 def p_disabled(self):
     return r.bool()
Пример #31
0
 def p_muted(self):
     # 设置或返回音频是否静音
     return r.bool()
Пример #32
0
 def p_willValidate(self):
     return r.bool()
Пример #33
0
 def p_preservesPitch(self):
     return r.bool()
Пример #34
0
 def p_noHref(self):
     # indicating if the area is inactive (true) or active (false).
     return r.bool()
Пример #35
0
 def p_autostart(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Пример #36
0
 def p_mozOpaque(self):
     return r.bool()
Пример #37
0
 def p_defaultMuted(self):
     # 设置或返回音频默认是否静音
     return r.bool()
Пример #38
0
 def p_muted(self):
     # 设置或返回音频是否静音
     return r.bool()
Пример #39
0
 def p_autofocus(self):
     # 规定当页面加载时按钮应当自动地获得焦点
     return r.choice([r.bool(), "autofocus"])
Пример #40
0
 def p_paused(self):
     # 设置或返回音频是否暂停
     return r.bool()
Пример #41
0
 def p_formNoValidate(self):
     return r.bool()
Пример #42
0
 def p_preservesPitch(self):
     return r.bool()
Пример #43
0
 def p_undoScope(self):
     return r.bool()
Пример #44
0
 def p_autoplay(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Пример #45
0
 def m_setCapture(self):
     return r.bool()
Пример #46
0
 def p_autostart(self):
     # 设置或返回是否在就绪(加载完成)后随即播放音频
     return r.bool()
Пример #47
0
 def m_addEventListener(self):
     # 在这个EventTarget上添加指定事件类型的事件监听器 调用之前必须创建一个函数
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Пример #48
0
 def p_controls(self):
     # 设置或返回音频是否应该显示控件(比如播放/暂停等)
     return r.bool()
Пример #49
0
 def m_addEventListener(self):
     # 在这个EventTarget上添加指定事件类型的事件监听器 调用之前必须创建一个函数
     event = randoms.Events()
     function = randoms.Funcs()
     useCapture = randoms.bool()
     return "'%s',%s,%s" % (event, function, useCapture)
Пример #50
0
 def p_defaultMuted(self):
     # 设置或返回音频默认是否静音
     return r.bool()
Пример #51
0
 def p_open(self):
     r.bool()
Пример #52
0
 def p_mozOpaque(self):
     return r.bool()