Example #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])
Example #2
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Example #3
0
 def p_loop(self):
     # 设置或返回音频是否应在结束时重新播放
     return r.bool()
Example #4
0
    def p_compact(self):
        return r.bool()

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