DwPaging.TypeOfNextButton
Version: - stringSummary
Returns the type of the Next
button in frontend.
Settings
The value is based on the selection of 'Next' button type
in the paragraph settings of the module.
(Paragraph > Module settings > Paging panel > 'Next' button type)
Examples
Outputting the template tag
@GetString("DwPaging.TypeOfNextButton")
Check if tag has a value
@if(!string.IsNullOrWhiteSpace(GetString("DwPaging.TypeOfNextButton"))) {
@* Tag has value, so let's do something useful here. *@
}
Assign tag to a value for later use
@{
string storedTag = GetString("DwPaging.TypeOfNextButton");
}
Outputting the template tag
<!--@DwPaging.TypeOfNextButton-->
Check if string has a value
<!--@If Defined(@DwPaging.TypeOfNextButton)-->
Let's output this tag here: <strong><!--@DwPaging.TypeOfNextButton--></strong>
<!--@EndIf(@DwPaging.TypeOfNextButton)-->