Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout of "horizontal fill" does not seem to work with the API #53

Open
donaldmac opened this issue Oct 28, 2022 · 0 comments
Open

Layout of "horizontal fill" does not seem to work with the API #53

donaldmac opened this issue Oct 28, 2022 · 0 comments

Comments

@donaldmac
Copy link

The code I am using is:

		var tick = Tick.DOM.create({
		value: "Asdfg",
		view:
		// definition for top level tick element
		{	
			children:[
            // presenter object
            {
                root: 'div',
				repeat: true,
                layout: 'horizontal fit',
				transform: 'upper -> split -> delay(random, 100, 150)',
                children: [
                    // presenter object
                    {
                        view: 'flip',
						transform: 'ascii -> arrive -> round -> char(a-zA-Z)'
                    }
                ]
            }
			]	
		}
		});

		window.document.body.appendChild(tick.root);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant