properties
changelog

Scroll Behaviour

Control scroll behavior and other properties.

Usage:

  • @live scroll-*;
  • @live scroll-auto;
  • @live scroll-smooth;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		live: {
			scroll: {
				DEFAULT: {
					property: "scroll-behavior: <v><i>;",
					values: {
						auto: "auto",
						smooth: "smooth",
					},
				},
			},
		},
	},
};

export default shilpConfig;