instance method Element.Layout#toObject
Element.Layout#toObject([keys...]) → Object
-
keys
(String
) – A space-separated list of keys to include.
Converts the layout hash to a plain object of key/value pairs, optionally including only the given keys.
Keys can be passed into this method as individual arguments or separated by spaces within a string.
// Equivalent statements: someLayout.toObject('top', 'bottom', 'left', 'right'); someLayout.toObject('top bottom left right');