All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nasdanika.html.bootstrap.BootstrapElement Maven / Gradle / Ivy

There is a newer version: 2024.12.0
Show newest version
package org.nasdanika.html.bootstrap;

import org.nasdanika.html.HTMLElement;
import org.nasdanika.html.Markup;
import org.nasdanika.html.Producer;

public interface BootstrapElement, B extends BootstrapElement> extends Producer, Markup {
	
	H toHTMLElement();
	
	BootstrapFactory getFactory();
	
	/**
	 * Adds border classes
	 * @param color Optional color, may be null.
	 * @param placement Optionial placements, all borders if none a specified.
	 * @return
	 */
	B border(Color color, Placement... placement);
	
	B background(Color color);
	
	Text text();
	
	Spacing margin();
	
	Spacing padding();
	
	Float _float();

}