Skip to content

Commit bf7f329

Browse files
committed
Feat(Add Font Size support): Add fontSize param to directive
1 parent 3d4b34d commit bf7f329

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "angular-export-button",
33
"description": "Angular Export Button - AngularJS directive for creating reports in csv and pdf",
4-
"version": "0.0.7",
4+
"version": "0.0.8",
55
"keywords": [
66
"angular",
77
"csv",

dist/export-dropdown.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
headerRows: 1,
5454
width: ['auto', 'auto', 'auto'],
5555
body: data
56-
}
56+
},
57+
fontSize: scope.fontSize
5758
}
5859
],
5960
pageOrientation: scope.pageOrientation,
@@ -88,7 +89,8 @@
8889
fields: '=fields',
8990
headers: '=headers',
9091
pageOrientation: '=pageOrientation',
91-
pageMargins: '=pageMargins'
92+
pageMargins: '=pageMargins',
93+
fontSize: "=fontSize"
9294
},
9395
link: linker,
9496
transclude: true,

0 commit comments

Comments
 (0)