Function styleToString string styleToString(string a_name, mixed a_value) string styleToString(object a_object) Converts the specified parameters to a string of CSS styles. For size parameters, if a numeric chip is passed, the suffix "px" is added Source file fcf:fcf.js Namespace fcf Arguments: string a_name - Style name mixed a_value - Style value object a_object - An object where the name of the style is used as a key and contains its value. Return value: string Styles string generated for css format Examples Example 1 console.log(fcf.styleToString("min-width", 10)); console.log(fcf.styleToString({display: "block", "width": 10})); Result: "min-width: 10px;" "dispaly: block; width: 10px;"