, but this code
// executes before the first paint, when
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);
})();
Barbara B Timmermans | 黄大仙高手论坛
Skip to main content
Education
- PhD University of New Mexico, Albuquerque, New Mexico 2000
- MSN University of Michigan, Ann Arbor, Michigan 1983
- BSN Grand Valley State University, Allendale, Michigan
Professional Experience
- Associate Professor of Nursing, Calvin College, Grand Rapids, Michigan (2014 - Present)
- Nursing Faculty, Trinity Christian College, Palos Heights, Illinois (2003-2014)
- Doctoral Student, University of New Mexico, Albuquerque, New Mexico (Sept. 1997-Dec. 2000)
- Faculty, Hope-Calvin Department of Nursing, Calvin College, Grand Rapids Michigan (Sept. 1992-June 2003)
- Staff Nurse, Nursing Resource Center, Butterworth Hospital, Grand Rapids, Michigan (July 1993-July 1997)
- Teacher/Practitioner, Butterworth Hospital, Grand Rapids, Michigan (1989-1992)
- Curriculum Writer - Parenting Series, St. Mary's Hospital, Grand Rapids, Michigan (Summer, 1989)
- Instructor, Pre-Natal Classes, St. Mary's Hospital, Grand Rapids, Michigan (Feb. - Sept. 1989)
- Faculty, Hope-Calvin Department of Nursing, Calvin College, Grand Rapids, Michigan (1983-1988)
- Staff Nurse - Newborn and Special Care Nursery, St. Joseph Mercy Hospital, Ann Arbor, Michigan (1982-1983)
- Faculty, Butterworth Hospital School of Nursing, Grand Rapids, Michigan (1980-1981)
- Staff Nurse, Butterworth Hospital, Grand Rapids, Michigan (1979-1980)
Specialty
Professional Associations
- AWHONN (Association of Women's Health, Obstetric, and Neonatal Nursing) 1980 - Present
- Sigma Theta Tau International, The Honors Society of Nursing 1983 - Present
Awards
Grants
- Nursing Department Summer Curriculum Grant, Trinity Christian College 2010
- Nursing Department Summer Curriculum Grant, Trinity Christian College 2008