, but this code // executes before the first paint, when

fb88

is not yet present. The // classes are added to so styling immediately reflects the current // toolbar state. The classes are removed after the toolbar completes // initialization. const classesToAdd = ['toolbar-loading', 'toolbar-anti-flicker']; if (toolbarState) { const { orientation, hasActiveTab, isFixed, activeTray, activeTabId, isOriented, userButtonMinWidth } = toolbarState; classesToAdd.push( orientation ? `toolbar-` + orientation + `` : 'toolbar-horizontal', ); if (hasActiveTab !== false) { classesToAdd.push('toolbar-tray-open'); } if (isFixed) { classesToAdd.push('toolbar-fixed'); } if (isOriented) { classesToAdd.push('toolbar-oriented'); } if (activeTray) { // These styles are added so the active tab/tray styles are present // immediately instead of "flickering" on as the toolbar initializes. In // instances where a tray is lazy loaded, these styles facilitate the // lazy loaded tray appearing gracefully and without reflow. const styleContent = ` .toolbar-loading #` + activeTabId + ` { background-image: linear-gradient(rgba(255, 255, 255, 0.25) 20%, transparent 200%); } .toolbar-loading #` + activeTabId + `-tray { display: block; box-shadow: -1px 0 5px 2px rgb(0 0 0 / 33%); border-right: 1px solid #aaa; background-color: #f5f5f5; z-index: 0; } .toolbar-loading.toolbar-vertical.toolbar-tray-open #` + activeTabId + `-tray { width: 15rem; height: 100vh; } .toolbar-loading.toolbar-horizontal :not(#` + activeTray + `) > .toolbar-lining {opacity: 0}`; const style = document.createElement('style'); style.textContent = styleContent; style.setAttribute('data-toolbar-anti-flicker-loading', true); document.querySelector('head').appendChild(style); if (userButtonMinWidth) { const userButtonStyle = document.createElement('style'); userButtonStyle.textContent = `#toolbar-item-user {min-width: ` + userButtonMinWidth +`px;}` document.querySelector('head').appendChild(userButtonStyle); } } } document.querySelector('html').classList.add(...classesToAdd); })(); Sitemap | Office of State Fire Marshal

fb88

  • Home
  • Skip to top navigation
  • Skip to side navigation
  • Skip to content
  • Skip to footer

  • |
  • |
  • |

Office of State Fire Marshal

  • Contact
  • Sitemap
  • Home
  • About
    • Articles
    • Research and Reports
    • Contact
    • Fire & EMS Incident Reporting System
    • fb88 Fire Protection Services Commission
  • Fire Investigations
    • Arson Tipline
    • Arson Immunity Statute
    • Resources
    • Record Request
  • Inspections
    • Fireworks
    • Assembly Occupancy Requirements
    • Day Care & Nursery School Requirements
    • Explosives Statutes
  • Sprinklers
    • Laws
    • Licenses
    • Permits
    • System Shutdown Policies
  • Plans Review
    • Applications & Permits
    • About Construction Permits
    • Above Ground Storage Tanks
    • Bed and Breakfast Requirements
  • Laws
    • Guidance
    • Rules of the State Fire Marshal
    • State Adopted NFPA Standards
    • fb88's Reduced Ignition Propensity Cigarette
  • Community Risk Reduction & Resources
    • Community Risk Assessment Data
    • Heating Safety Recommendations
    • Elder Issues Regarding Fire Safety
    • Tools Box
  • Building Codes
    • Codes Toolbox
    • Technical Codes & Standards Board
    • Calendar
    • Code Enforcement
    • MUBEC Rules and Laws

Home → Sitemap

  • Home

  • About

    • Articles
    • Research and Reports
    • Contact
    • Fire Investigations
      • Arson Immunity Statute
      • Record Request
    • Fire Incident Reporting System
      • System Features
      • Reporting Guidelines
      • fb88 Fire Department Identification (FDID #) By County
      • MEFIRS Frequently Asked Questions
    • fb88 Fire Protection Services Commission
      • By Laws
      • Minutes
      • Reports
      • Best Practice Award
      • Members
  • Inspections

    • Assembly Occupancy Requirements
      • Special Provisions for Exposition Facilities
      • Seating Arrangements
      • Provisions for Food Service Operations
    • Day Care & Nursery School Requirements
      • General Requirements
      • Means of Escape
      • Group Day Care Home
    • Explosive Regulations
  • Fireworks

    • Fireworks Regulations
    • Fireworks Injuries
    • Municipal and Plantation Consumer Fireworks Ordinances
  • Sprinklers

    • Laws
    • Licenses
    • Permits
    • System Shutdown Policies
    • fb88 Life Safety Standards
  • Plans Review

    • Applications & Permits
    • About Construction Permits
      • Submittal Criteria
      • Barrier Free Construction Permits
    • Above Ground Storage Tanks
    • Bed and Breakfast Requirements
  • Laws

    • Rules of the State Fire Marshal
      • Proposed Rulemaking
    • Adopted National Fire Prevention Association
    • fb88's Reduced Ignition Propensity Cigarette
  • Resources

    • Juvenile Fire Behavior Services
    • Heating Safety Recommendations
    • Elder Issues Regarding Fire Safety
  • Building Codes

    • Forms & Links
    • Technical Codes & Standards Board
    • Code Enforcement
      • Training & Certification
      • Online Training Library
      • Training Calendar
      • Forms & Links
      • Publications

Credit

InforME logo

Copyright © 2019
All rights reserved.

Information

  • Fire Marshal's Office Home
  • Sitemap

Related Links

  • fb88 Forest Service
  • Department of Public Safety

Ìý