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

Exports #6

Open
3 of 4 tasks
johannes-z opened this issue Nov 29, 2019 · 0 comments
Open
3 of 4 tasks

Exports #6

johannes-z opened this issue Nov 29, 2019 · 0 comments

Comments

@johannes-z
Copy link
Owner

johannes-z commented Nov 29, 2019

office-fabric needs to export the following objects, functions and structures:

  • Fabric (Plugin):
import Vue from 'vue'
import Fabric from 'office-fabric'

Vue.use(Fabric, options?)
  • { Spinner, Toggle}, { FabricComponents } (Components):
// manually select which components to import
import { Spinner, Toggle } from 'office-fabric' 
// object that exposes all fabric components
import { FabricComponents } from 'office-fabric'
  • overrideTheme(theme) (Theming)
import { overrideTheme } from 'office-fabric'
// override theming variables at runtime, e.g. to change colors, fonts, etc.
overrideTheme(themeObj)
  • Interfaces and utility to expand office-fabric and build solutions on top of it, e.g. BaseComponent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant