Template Function ripple::padding¶
Function Documentation¶
Returns the padding for the wrapper.
If this wrapper has its padding set, then it returs that, otherwise it will check if the type is block enabled, and if so return that padding of the wrapped type.
If this wrapper has its padding set, then it returs that, otherwise it will check if the type is block enabled, and if so return that padding of the wrapped type.
- Note
This overload is only enabled if the template type is block enabled, and therefore it has a padding method.
- Return
The amount of padding for the wrapper.
- Parameters
wrapper
: The wrapper to get the amount of padding for.
- Note
This overload is only enabled if the template type is not block enabled, and therefore it does not have a padding method so the default case returns zero.
- Return
The amount of padding for the wrapper.
- Parameters
wrapper
: The wrapper to get the amount of padding for.