-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into luxiaobei-selection
- Loading branch information
Showing
146 changed files
with
62,692 additions
and
52,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
<thy-alert thyType="primary-week" thyMessage="提示内容提示内容提示内容提示内容"></thy-alert> | ||
<thy-alert thyType="primary-week" thyMessage="提示内容"></thy-alert> | ||
<thy-alert thyType="success-week" thyMessage="提示内容"></thy-alert> | ||
<thy-alert thyType="warning-week" thyMessage="提示内容"></thy-alert> | ||
<thy-alert thyType="danger-week" thyMessage="提示内容"></thy-alert> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<section class="mb-3"> | ||
<h3>1复制传入标签文字</h3> | ||
<button thyButton="primary-square" (thyCopy)="copy($event)" [thyCopyContent]="target1">复制</button> | ||
<p #target1>我是p标签,点击button复制的是我的文本</p> | ||
</section> | ||
|
||
<section class="mb-3"> | ||
<h3>2复制标签thyCopyContent传入文字</h3> | ||
<button thyButton="primary-square" (thyCopy)="copy($event)" [thyCopyContent]="'我是一只猪猪'"> | ||
复制button中thyCopyContent传入文字,thyCopyContent传入文字的优先级大于标签文本 | ||
</button> | ||
</section> | ||
|
||
<section class="mb-3"> | ||
<h3>3复制当前标签文字</h3> | ||
<p thyCopy thyCopySuccessText="复制文字复制成功">我是带有thyCopy的p标签,点击我,复制这段文字</p> | ||
</section> | ||
|
||
<section class="mb-3"> | ||
<h3>4复制input输入的文字</h3> | ||
<button thyButton="primary-square" (thyCopy)="copy($event)" [thyCopyContent]="target2">复制</button> | ||
<p> | ||
<input #target2 /> | ||
</p> | ||
</section> |
Oops, something went wrong.