This repository was archived by the owner on May 4, 2022. It is now read-only.
This repository was archived by the owner on May 4, 2022. It is now read-only.
Ion-slides does not respect slider options changes after $link but before construction #151
Open
Description
From @bdirito on March 30, 2016 17:2
Short description of the problem:
ion-slides has a state where the slider is not yet initialized but the options for slider construction are bound (and cannot be updated)
What behavior are you expecting?
I would expect that if slider has yet not been initialized slider options can still be modified.
Steps to reproduce:
- create a directive
- set an element to contain an element in the link function
- compile & link the element
- note that slider is still null
- hence modify slider_options object
- note that your slider_options change has not taken effect
http://codepen.io/tisepti/pen/bpqQpN
Ionic 1.2.4
Cordova CLI: 5.3.3
Gulp version: CLI version 3.9.1
Gulp local: Local version 3.9.0
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Windows 7 SP1
Node Version: v4.2.0
Copied from original issue: ionic-team/ionic-framework#5990