Skip to content

Commit 3c95f3e

Browse files
committed
docs=: Update Extended Styling - mention wrapperClass
1 parent 962f4fa commit 3c95f3e

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ You can use it or take it as base for your own styling.
8686
### Extended Styling
8787

8888
- All inputs are wrapped in a div with a **p-formkit** class
89+
- Use *wrapperClass* to add additional styleclasses to wrapper div
90+
- Most Prime Components have access to class / styles attributes
8991
- Most Prime Components have access to class / styles attributes
9092
- PT and PTOptions are available ([https://primevue.org/passthrough/](https://primevue.org/passthrough/))
9193
- [Styling](https://formkit-primevue.netlify.app/styling/base) and [PT](https://formkit-primevue.netlify.app/styling/passThrough) demo available

docs/.vitepress/config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
themeConfig: {
1010
footer: {
1111
message: 'FormKit PrimeVue Module',
12-
copyright: 'Copyright © 2023 SFXCode',
12+
copyright: 'Copyright © 2024 SFXCode',
1313
},
1414
socialLinks: [
1515
{ icon: 'github', link: 'https://github.com/sfxcode/formkit-primevue' },

docs/guide/styling.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Make sure to add a class selector for **p-invalid**.
2121
## Extended Styling
2222

2323
- All inputs are wrapped in a div with a **p-formkit** class
24+
- Use *wrapperClass* to add additional styleclasses to wrapper div
2425
- Most Prime Components have access to class / styles attributes
26+
- Some Components have addtional properties for the rendered inputs (eg: optionClass, labelClass in primeRadioButton)
2527
- PT and PTOptions are available ([https://primevue.org/passthrough/](https://primevue.org/passthrough/))
2628
- [Styling](https://formkit-primevue.netlify.app/demo/styling), [Grid](https://formkit-primevue.netlify.app/demo/grid) and [PT](https://formkit-primevue.netlify.app/demo/passThrough) demo available

0 commit comments

Comments
 (0)