Class MBTouchTargetWrapper
Optionally applies a <div> element with class 'mdc-touch-target-wrapper' around the child content.
public class MBTouchTargetWrapper : ComponentBase, IComponent, IHandleEvent, IHandleAfterRender
- Inheritance
-
MBTouchTargetWrapper
- Implements
- Inherited Members
Constructors
MBTouchTargetWrapper()
public MBTouchTargetWrapper()
Properties
ApplyTouchTargetWrapper
Determines whether to apply the wrapper.
[Parameter]
public bool ApplyTouchTargetWrapper { get; set; }
Property Value
ChildContent
Child content render fragment.
[Parameter]
public RenderFragment ChildContent { get; set; }
Property Value
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder builder)
Parameters
builder
RenderTreeBuilderA RenderTreeBuilder that will receive the render output.