提交 695ad785 编写于 作者: C codecalm

interactions docs

上级 7a69e8f6
......@@ -117,6 +117,10 @@ utils:
title: Cursors
url: docs/cursors.html
interactions:
title: Interactions
url: docs/interactions.html
plugins:
title: Plugins
icon: apps
......
---
title: Interactions
description: Utility classes that change how users interact with contents of a website.
menu: docs.utils.interactions
---
## Text selection
Change the way in which the content is selected when the user interacts with it.
{% capture code %}
<p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
<p class="user-select-auto">This paragraph has default select behavior.</p>
<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>
{% endcapture %}
{% include example.html code=code %}
## Pointer events
Tabler provides .pe-none and .pe-auto classes to prevent or add element interactions.
{% capture code %}
<p><a href="#" class="pe-none" tabindex="-1" aria-disabled="true">This link</a> can not be clicked.</p>
<p><a href="#" class="pe-auto">This link</a> can be clicked (this is default behavior).</p>
{% endcapture %}
{% include example.html code=code %}
\ No newline at end of file
......@@ -16,8 +16,8 @@ page-header: Documentation
<div class="card-body">
<div class="markdown">
<div>
<div class="d-flex mb-4">
<h1 class="mt-0">{{ page.title }}</h1>
<div class="d-flex mb-3">
<h1 class="m-0">{{ page.title }}</h1>
{% if page.bootstrap-link %}
<p class="ms-auto">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册