config-methods
config-methods(init, cover, uncover, only, effect, alternatives-match, alternatives, alternatives-fn, alternatives-cases, item-by-item, alert, show-only-notes, convert-label-to-short-heading, ..args)(source)The configuration of the methods.
init : function
The function to initialize the presentation. It should be (self: none, body) => { .. }.
cover : function
The function to cover content. The default value is utils.method-wrapper(hide) function. You can configure it with cover: utils.semi-transparent-cover to use the semi-transparent cover.
uncover : function
The function to uncover content. The default value is utils.uncover function.
only : function
The function to show only the content. The default value is utils.only function.
effect : function
The function to add effect to the content. The default value is utils.effect.
alternatives-match : function
The function to match alternatives. The default value is utils.alternatives-match function.
alternatives : function
The function to show alternatives. The default value is utils.alternatives function.
alternatives-fn : function
The function to show alternatives with a function. The default value is utils.alternatives-fn function.
alternatives-cases : function
The function to show alternatives with cases. The default value is utils.alternatives-cases function.
item-by-item : function
The function to show items one by one. The default value is utils.item-by-item function.
alert : function
The function to alert the content. The default value is utils.method-wrapper(text.with(weight: "bold")) function.
show-only-notes : function
The function used to render speaker notes, either as the primary content (show-only-notes: true mode) or on a second screen. It should accept (self: none, width: 0pt, height: 0pt, cutout: false). When cutout: true, return a dictionary with background, foreground, and cutout-height keys.
convert-label-to-short-heading : function
The function to convert label to short heading. It is useful for the short heading for heading with label. It will be used in function with short-heading. The default value is utils.titlecase(lbl.replace(regex("^[^:]*:"), "").replace("_", " ").replace("-", " ")). It means that some headings with labels like section:my-section will be converted to My Section.
Returns: dictionary