Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(popover & tooltip): add container classes #2190

Merged
merged 3 commits into from
Jul 18, 2017

Conversation

IlyaSurmay
Copy link
Contributor

@IlyaSurmay IlyaSurmay commented Jul 14, 2017

added ability to apply custom css classes to tooltip and popover
fixes #1707
fixes #1395

@codecov
Copy link

codecov bot commented Jul 14, 2017

Codecov Report

Merging #2190 into development will increase coverage by 0.16%.
The diff coverage is 60%.

Impacted file tree graph

@@               Coverage Diff               @@
##           development    #2190      +/-   ##
===============================================
+ Coverage        87.05%   87.22%   +0.16%     
===============================================
  Files               85       85              
  Lines             2271     2285      +14     
  Branches           293      297       +4     
===============================================
+ Hits              1977     1993      +16     
+ Misses             191      190       -1     
+ Partials           103      102       -1
Impacted Files Coverage Δ
src/popover/popover-container.component.ts 100% <ø> (ø) ⬆️
src/tooltip/tooltip-container.component.ts 77.77% <0%> (ø) ⬆️
src/popover/popover.directive.ts 96.61% <100%> (+5.3%) ⬆️
src/tooltip/tooltip.directive.ts 69.14% <100%> (+0.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d039a8d...c4cdb98. Read the comment docs.

@YevheniiaMazur
Copy link

Tested, looks good

@@ -0,0 +1,5 @@
<button type="button" class="btn btn-primary"
popover="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." [containerClass]="'customClass'">

This comment was marked as off-topic.

@@ -68,5 +70,9 @@ export const DEMOS = {
stylingGlobal: {
component: require('!!raw-loader?lang=typescript!./styling-global/styling-global.ts'),
html: require('!!raw-loader?lang=markup!./styling-global/styling-global.html')
},
class: {

This comment was marked as off-topic.

@@ -0,0 +1,5 @@
<button type="button" class="btn btn-primary"
tooltip="Vivamus sagittis lacus vel augue laoreet rutrum faucibus." [containerClass]="'customClass'">

This comment was marked as off-topic.

@valorkin valorkin merged commit 690d811 into development Jul 18, 2017
@valorkin valorkin deleted the feat-container-classes branch July 18, 2017 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How can I override the style of a popover? Alternative to tooltip customClass deprecated
3 participants