> Portal Navigation: > > - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version. > - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages). > - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`). > - Top-level index of all portals: https://dev.wix.com/docs/llms.txt > - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt # Method name: getProps() # Method package: wixWidget # Method menu location: wixWidget --> getProps # Method Link: https://dev.wix.com/docs/velo/velo-only-apis/wix-widget/get-props.md # Method Description: Gets the widget's [properties](https://support.wix.com/en/article/wix-blocks-widget-api-properties). The `getProps()` function returns a Promise that resolves to an object with all of the widget's properties. To use this function on an inner (nested) widget, use [`getNestedWidget()`](#getNestedWidget). > **Note**: > The `getProps()` function doesn't work in preview mode. # Method Code Examples: *** Note: do not assume any prop names or enum values other than the ones in the example. ## Get a widget's properties ```javascript import wixWidget from 'wix-widget'; // ... wixWidget.getProps() .then(props => { // Code to execute with the props object }) // Props object can be, for example: {country: "us", upperLimit: 7} ``` ---