Skip to content

Commit f22e24b

Browse files
author
Aniket Bansal
committed
- Added ɵɵclassMapInterpolate1
1 parent 7f266b0 commit f22e24b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import { ɵɵclassMap } from "../render3/instructions/styling";
2+
import { ɵɵinterpolate1 } from "../render3/instructions/value_interpolation";
3+
4+
export const ɵɵclassMapInterpolate1 = (prefix: string, v0: any, suffix = '') => {
5+
return ɵɵclassMap(ɵɵinterpolate1(prefix, v0, suffix) as string);
6+
}

packages/core/src/core.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,3 +147,4 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
147147
export {InputFlags as ɵɵInputFlags} from './render3/interfaces/input_flags';
148148
export {ɵɵInputTransformsFeature} from './compat/input_transforms_feature';
149149
export {ɵɵpropertyInterpolate} from './compat/property_interpolate';
150+
export {ɵɵclassMapInterpolate1} from './compat/class_map_interpolate';

0 commit comments

Comments
 (0)