55fda2cee25dee493135ac0873573dfa45620321,examples/custom/font-awesome/font-awesome.py,,,#,7

Before Change



btn = Button(icon=FontAwesomeIcon(icon_name="thumbs-o-up", size=2),
             label="It works!",
             callback=CustomJS(code="alert("It works!");"))
show(column(btn))

After Change



btn = Button(icon=FontAwesomeIcon(icon_name="thumbs-o-up", size=2),
             label="It works!")
btn.js_on_click(CustomJS(code="alert("It works!")"))

show(column(btn))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: bokeh/bokeh
Commit Name: 55fda2cee25dee493135ac0873573dfa45620321
Time: 2019-10-27
Author: bryan@bokeh.org
File Name: examples/custom/font-awesome/font-awesome.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 2cdf87a4e997d7792e5ac8494be939a7a4c88cd5
Time: 2019-05-15
Author: bryan@bokeh.org
File Name: examples/plotting/file/slider_callback_policy.py
Class Name:
Method Name:


Project Name: bokeh/bokeh
Commit Name: 726c23deab424ec4083d4e23e9c7bf6d5f3df3a3
Time: 2016-08-08
Author: b.sipocz@gmail.com
File Name: examples/plotting/file/line_on_off.py
Class Name:
Method Name: