This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(transclude): use directive instead of class to mark injection point
- Loading branch information
Showing
4 changed files
with
38 additions
and
36 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<ul class="ui-select-choices ui-select-choices-content select2-results"> | ||
<li class="ui-select-choices-row" ng-class="{'select2-highlighted': $select.activeIndex === $index}"> | ||
<div class="select2-result-label ui-select-choices-row-inner"></div> | ||
<div class="select2-result-label" transinject></div> | ||
</li> | ||
</ul> |
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,14 +1,14 @@ | ||
<div class="select2 select2-container" | ||
ng-class="{'select2-container-active select2-dropdown-open': $select.open, | ||
'select2-container-disabled': $select.disabled}"> | ||
<div class="ui-select-match"></div> | ||
<div transinject=".ui-select-match"></div> | ||
<div class="select2-drop select2-with-searchbox select2-drop-active" | ||
ng-class="{'select2-display-none': !$select.open}"> | ||
<div class="select2-search"> | ||
<input type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" | ||
class="ui-select-search select2-input" | ||
ng-model="$select.search"> | ||
</div> | ||
<div class="ui-select-choices"></div> | ||
<div transinject=".ui-select-choices"></div> | ||
</div> | ||
</div> |