jQuery事件创建机制和性能

时间:2019-06-12 08:58:36

标签: javascript jquery performance

事件创建有何不同:

from flask import Flask
app = Flask(__name__)
application = app # our hosting requires application in passenger_wsgi

@app.route("/")
def hello():
    return "This is Hello World!\n"

if __name__ == "__main__":
    application = app.run()

$(document).on('click', '.some-class', function(e) {...}

它会带来性能差异吗?

0 个答案:

没有答案