IgniteUI/igniteui-docfx

Update Documentation and Sample for setOffset Method to Include Absolute Positioning Option

georgianastasov opened this issue · 0 comments

Description

The setOffset function has been updated to support both relative and absolute positioning with this feature. To accommodate this change, the documentation for both the toggle and overlay topics, specifically for the setOffset method, needs to be updated. Additionally, the sample for the toggle topic should be updated to demonstrate the new functionality.

Steps to reproduce

  1. Go to the documentation page for the toggle component at Infragistics Toggle Component.
  2. Locate the section describing the setOffset method.
  3. Review the code snippet and sample provided for the setOffset method.
  4. Go to the documentation page for the overlay component at Infragistics Overlay Position.
  5. Locate the section describing the setOffset method.
  6. Review the code snippet provided for the setOffset method.

Result

The documentation currently describes the setOffset method as only supporting relative positioning. The samples for the toggle topic demonstrate only relative positioning behavior.

Expected result

The documentation and samples should be updated to include the new parameter for the setOffset method, explaining and demonstrating both relative and absolute positioning options. The toggle component documentation should include an updated code snippet and sample. The overlay component documentation should include an updated code snippet to reflect this change.