Last active
March 29, 2017 06:11
-
-
Save dormd/5739c9c62e030b8026eb42c47e4064dc to your computer and use it in GitHub Desktop.
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
import { HybridHelper } from './hybrid-helper.v4'; | |
import { DocumentComponent } from './document-component.v4'; | |
const moduleName = 'document'; | |
angular.module(moduleName, [...]); | |
HybridHelper.downgradeComponent(moduleName, 'document', DocumentComponent, { | |
inputs: ['name', 'size', 'numOfPages', 'content'], | |
outputs: ['opened', 'contentChanged', 'closed'] | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment