Optional classOptional offsetOptional offsetTriggered when the specified offset is reached from the top of the window
Optional onCallback function triggered when fixed state changes
Callback function triggered when fixed state changes
Optional affixed: booleanOptional prefixOptional rootOptional styleOptional targetSet the element that Affix needs to listen to its scroll event, the value is a function that returns the corresponding DOM element
Set the element that Affix needs to listen to its scroll event, the value is a function that returns the corresponding DOM element
Generated using TypeDoc
Triggered when the specified offset is reached from the bottom of the window