Skip to content

Instantly share code, notes, and snippets.

View scott1028's full-sized avatar
🏠
Working from home

scott1028

🏠
Working from home
View GitHub Profile
@scott1028
scott1028 / dom_performance_reflow_repaint.md
Created June 14, 2023 02:15 — forked from faressoft/dom_performance_reflow_repaint.md
DOM Performance (Reflow & Repaint) (Summary)

DOM Performance

Rendering

  • How the browser renders the document
    • Receives the data (bytes) from the server.
    • Parses and converts into tokens (<, TagName, Attribute, AttributeValue, >).
    • Turns tokens into nodes.
    • Turns nodes into the DOM tree.
  • Builds CSSOM tree from the css rules.

Ionic - Back Button In Tabs

Attempting to get Tabs view to show back buttons or at least "left-buttons"

A Pen by Justin Noel on CodePen.

License.

zh-TW:
admin:
home:
name: "網站首頁"
pagination:
previous: "&laquo; 前頁"
next: "次頁 &raquo;"
truncate: "…"
misc:
filter_date_format: "mm/dd/yy" # a combination of 'dd', 'mm' and 'yy' with any delimiter. No other interpolation will be done!
assets = params[:assets]
assets.each do |asset|
Asset.create(asset)
end