File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
app/ns-ui-widgets-category Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
const Observable = require ( "tns-core-modules/data/observable" ) . Observable ;
2
- const frameModule = require ( "tns-core-modules/ui/frame" )
2
+ const frameModule = require ( "tns-core-modules/ui/frame" ) ;
3
3
function onNavigatingTo ( args ) {
4
4
const page = args . object ;
5
5
const vm = new Observable ( ) ;
6
6
vm . set ( "title" , "Icon Fonts \nAction Bar Example" ) ;
7
- vm . set ( "snippet" , "<ActionBar title=\"Icon Fonts\" class=\"action-bar\"/>" ) ;
7
+ vm . set ( "snippet" , "<ActionBar title=\"Icon Fonts\" class=\"action-bar\"/>" ) ;
8
8
page . bindingContext = vm ;
9
9
}
10
10
function navigateBack ( ) {
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ function containerLoaded(args) {
4
4
const container = args . object ;
5
5
// >> image-icon-fonts-js
6
6
const newImage = new Image ( ) ;
7
- const imageString = String . fromCharCode ( 0xF10B )
8
- newImage . src = " font://" + imageString ;
7
+ const imageString = String . fromCharCode ( 0xF10B ) ;
8
+ newImage . src = ` font://${ imageString } ` ;
9
9
newImage . className = "font-awesome font-size" ;
10
10
newImage . width = 49 ;
11
11
newImage . height = 49 ;
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ export function containerLoaded(args: EventData) {
6
6
const container = < GridLayout > args . object ;
7
7
// >> image-icon-fonts-ts
8
8
const newImage = new Image ( ) ;
9
- const imageString = String . fromCharCode ( 0xF10B )
10
- newImage . src = "font://" + imageString ;
9
+ const imageString = String . fromCharCode ( 0xF10B ) ;
10
+ newImage . src = "font://" + imageString ;
11
11
newImage . className = "font-awesome font-size" ;
12
12
newImage . width = 49 ;
13
13
newImage . height = 49 ;
You can’t perform that action at this time.
0 commit comments